FSlateApplicationBase::FindWidgetWindow

Returns the window the provided widget is contained in

Windows
MacOS
Linux

Override Hierarchy

FSlateApplicationBase::FindWidgetWindow()

FSlateApplication::FindWidgetWindow()

References

Module

SlateCore

Header

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

Include

#include "Application/SlateApplicationBase.h"

Syntax

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

Remarks

Returns the window the provided widget is contained in

Returns

returns the window the provided widget is contained in or nullptr if it's not currently in a window

Parameters

Parameter

Description

InWidget

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