Module |
|
Header |
/Engine/Source/Runtime/Slate/Public/Framework/Application/MenuStack.h |
Include |
#include "Framework/Application/MenuStack.h" |
Source |
/Engine/Source/Runtime/Slate/Private/Framework/Application/MenuStack.cpp |
TSharedPtr< IMenu > FindMenuFromWindow
(
TSharedRef< SWindow > InWindow
) const
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.
The menu in the stack that owns InWindow, or an invalid ptr if not found
Parameter |
Description |
---|---|
InWindow |
The window to look for |