Navigation
API > API/Developer > API/Developer/ToolMenus > API/Developer/ToolMenus/FToolMenuEntry
Description
Show this menu entry in the top-level toolbar section of a toolbar.
Entries of a toolbar submenu can be raised to the top-level of the toolbar. Such top-level entires appear in the toolbar to the right of the submenu they belong to.
This flag only effects entries within submenus of toolbar-type ToolMenus.
THIS AFFECTS STYLING. When an entry is raised to the top level of a toolbar, the ".Raised" suffix is added to the style name that would otherwise have been applied.
| Name | SetShowInToolbarTopLevel |
| Type | function |
| Header File | /Engine/Source/Developer/ToolMenus/Public/ToolMenuEntry.h |
| Include Path | #include "ToolMenuEntry.h" |
| Source | /Engine/Source/Developer/ToolMenus/Private/ToolMenuEntry.cpp |
void SetShowInToolbarTopLevel
(
TAttribute< bool > InTopLevel
)
Parameters
| Name | Remarks |
|---|---|
| InTopLevel | True shows the entry in the top-level next to its submenu, false (default) only displays it in the submenu itself. Pass a delegate to drive the top-level state from code. |