FSlateWindowHelper::ContainsWindow

Checks whether the given collection of windows contains the specified window.

Windows
MacOS
Linux

References

Module

SlateCore

Header

/Engine/Source/Runtime/SlateCore/Public/Application/SlateWindowHelper.h

Include

#include "Application/SlateWindowHelper.h"

Source

/Engine/Source/Runtime/SlateCore/Private/Application/SlateWindowHelper.cpp

Syntax

static bool ContainsWindow
(
    const TArray< TSharedRef< SWindow >> & WindowsToSearch,
    const TSharedRef< SWindow > & WindowToFind
)

Remarks

Checks whether the given collection of windows contains the specified window.

Returns

true if the collection contains the window, false otherwise.

Parameters

Parameter

Description

WindowsToSearch

The collection of windows to search.

WindowToFind

The window to find.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss