FSlateWindowHelper::ContainsWindow

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

Choose your operating system:

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.