FSlateApplicationBase::GetActiveTopLevelWindow

Gets the active top-level window.

Choose your operating system:

Windows

macOS

Linux

Override Hierarchy

FSlateApplicationBase::GetActiveTopLevelWindow()

FSlateApplication::GetActiveTopLevelWindow()

References

Module

SlateCore

Header

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

Include

#include "Application/SlateApplicationBase.h"

Syntax

TSharedPtr< SWindow > GetActiveTopLevelWindow() const

Remarks

Gets the active top-level window.

Returns

The top level window, or nullptr if no Slate windows are currently active.