Deprecated
The FindWidgetWindow method that takes an FWidgetPath has been deprecated. If you dont need the widget path, use FindWidgetWindow(MyWidget) instead. If you need the path use GeneratePathToWidget
Module |
|
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 |
TSharedPtr< SWindow > FindWidgetWindow
(
TSharedRef< const SWidget > InWidget,
FWidgetPath & OutWidgetPath
) const
Finds the window that the provided widget resides in
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.
Parameter |
Description |
---|---|
InWidget |
The widget to find the window for |
OutWidgetPath |
Full widget path generated |