Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FMenuStack
Description
This is the post-push stage of menu creation. It is responsible for updating the stack with the new menu and removing any that it replaces.
| Name | PostPush |
| 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 |
void PostPush
(
TSharedPtr < IMenu > InParentMenu,
TSharedRef < FMenuBase > InMenu,
EShouldThrottle ShouldThrottle,
bool bInInsertAfterDismiss
)
Parameters
| Name | Remarks |
|---|---|
| InParentMenu | The parent menu for this menu |
| InMenu | A newly created menu |
| ShouldThrottle | Should pushing this menu enable throttling of the engine for a more responsive UI |
| bInInsertAfterDismiss | Avoid unwanted delete due to dismissing another menu causing all menus in stack to be dismissed |