FSlateApplication::FindWidgetWindow

Finds the window that the provided widget resides in

Windows
MacOS
Linux

Override Hierarchy

FSlateApplicationBase::FindWidgetWindow()

FSlateApplication::FindWidgetWindow()

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/Application/SlateApplication.h

Include

#include "Framework/Application/SlateApplication.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/Application/SlateApplication.cpp

Syntax

virtual TSharedPtr< SWindow > FindWidgetWindow
(
    TSharedRef< const SWidget > InWidget
) const

Remarks

Finds the window that the provided widget resides in

Returns

The window where the widget resides, or null if the widget wasn't found. Remember, a widget might not be found simply because its parent decided not to report the widget in ArrangeChildren.

Parameters

Parameter

Description

InWidget

The widget to find the window for

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