Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FMenuStack
Description
Finds a menu in the stack that owns InWindow. Although this method isn't deprecated, it is intended for private use inside FMenuStack and its use as a public method should be avoided. Menus should be identified in client code as IMenu interfaces.
| Name | FindMenuFromWindow |
| 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 > FindMenuFromWindow
(
TSharedRef < SWindow > InWindow
) const
The menu in the stack that owns InWindow, or an invalid ptr if not found
Parameters
| Name | Remarks |
|---|---|
| InWindow | The window to look for |