Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FMenuStack
Description
Searches from bottom to top of the widget path for a menu in the stack. If the widget at the end of PathToQuery is inside a menu, there will be a menu content wrapper widget in the path.
| Name | FindMenuInWidgetPath |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/Application/MenuStack.h |
| Include Path | #include "Framework/Application/MenuStack.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/Application/MenuStack.cpp |
TSharedPtr < IMenu > FindMenuInWidgetPath
(
const FWidgetPath & PathToQuery
) const
The menu in the stack that contains the widget at the end of PathToQuery, or an invalid ptr if not found
Parameters
| Name | Remarks |
|---|---|
| PathToQuery | The widget path to search for a menu |