Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/SSubMenuHandler
Description
Requests that the sub-menu associated with this widget be toggled on or off. It does not immediately toggle the menu. After a set amount of time is passed the menu will toggle
| Name | RequestSubMenuToggle |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Widgets/Input/SSubMenuHandler.h |
| Include Path | #include "Widgets/Input/SSubMenuHandler.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Widgets/Input/SSubMenuHandler.cpp |
void RequestSubMenuToggle
(
bool bOpenMenu,
const bool bClobber,
const bool bImmediate
)
Parameters
| Name | Remarks |
|---|---|
| bOpenMenu | true to open the menu, false to close the menu if one is currently open |
| bClobber | true if we want to open a menu when another menu is already open |
| const | bool bImmediate Default false, when true the menu will open immediately |