FSlateApplicationBase::FindWidgetWindow

Returns the window the provided widget is contained in

Choose your operating system:

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