Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FMenuStack
Description
This is the actual menu object creation method for FMenuInWindow menus. It creates a new SWindow and new FMenuInWindow that uses it.
| Name | PushNewWindow |
| 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 |
TSharedRef < FMenuBase > PushNewWindow
(
TSharedPtr < IMenu > InParentMenu,
const FPrePushResults & InPrePushResults,
const bool bEnablePerPixelTransparency,
const int32 FocusUserIndex
)
The newly created FMenuInWindow menu.
Parameters
| Name | Remarks |
|---|---|
| InParentMenu | The parent menu for this menu |
| InPrePushResults | The results of the pre-push stage |
| FocusUserIndex | The index of the user that should focus the window. INDEX_NONE for all users. |