Navigation
API > API/Developer > API/Developer/ToolMenus > API/Developer/ToolMenus/FToolMenuSection
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FToolMenuEntry & AddSubMenu
(
const FName InName, |
ToolMenuSection.h | ||
FToolMenuEntry & AddSubMenu
(
const FName InName, |
ToolMenuSection.h | ||
FToolMenuEntry & AddSubMenu
(
const FName InName, |
Add a sub-menu to this section. | ToolMenuSection.h |
AddSubMenu(const FName, const FToolUIActionChoice &, const TSharedRef< SWidget > &, const FNewToolMenuChoice &, bool)
| Name | AddSubMenu |
| Type | function |
| Header File | /Engine/Source/Developer/ToolMenus/Public/ToolMenuSection.h |
| Include Path | #include "ToolMenuSection.h" |
| Source | /Engine/Source/Developer/ToolMenus/Private/ToolMenuSection.cpp |
FToolMenuEntry & AddSubMenu
(
const FName InName,
const FToolUIActionChoice & InAction,
const TSharedRef< SWidget > & InWidget,
const FNewToolMenuChoice & InMakeMenu,
bool bShouldCloseWindowAfterMenuSelection
)
AddSubMenu(const FName, const TAttribute< FText > &, const TAttribute< FText > &, const FNewToolMenuChoice &, bool, const TAttribute< FSlateIcon > &, const bool, const FName)
| Name | AddSubMenu |
| Type | function |
| Header File | /Engine/Source/Developer/ToolMenus/Public/ToolMenuSection.h |
| Include Path | #include "ToolMenuSection.h" |
| Source | /Engine/Source/Developer/ToolMenus/Private/ToolMenuSection.cpp |
FToolMenuEntry & AddSubMenu
(
const FName InName,
const TAttribute< FText > & InLabel,
const TAttribute< FText > & InToolTip,
const FNewToolMenuChoice & InMakeMenu,
bool bInOpenSubMenuOnClick,
const TAttribute< FSlateIcon > & InIcon,
const bool bShouldCloseWindowAfterMenuSelection,
const FName InTutorialHighlightName
)
AddSubMenu(const FName, const TAttribute< FText > &, const TAttribute< FText > &, const FNewToolMenuChoice &, const FToolUIActionChoice &, const EUserInterfaceActionType, bool, const TAttribute< FSlateIcon > &, const bool)
Description
Add a sub-menu to this section.
| Name | AddSubMenu |
| Type | function |
| Header File | /Engine/Source/Developer/ToolMenus/Public/ToolMenuSection.h |
| Include Path | #include "ToolMenuSection.h" |
| Source | /Engine/Source/Developer/ToolMenus/Private/ToolMenuSection.cpp |
FToolMenuEntry & AddSubMenu
(
const FName InName,
const TAttribute< FText > & InLabel,
const TAttribute< FText > & InToolTip,
const FNewToolMenuChoice & InMakeMenu,
const FToolUIActionChoice & InAction,
const EUserInterfaceActionType InUserInterfaceActionType,
bool bInOpenSubMenuOnClick,
const TAttribute< FSlateIcon > & InIcon,
const bool bShouldCloseWindowAfterMenuSelection
)
A reference to the menu entry for the added sub-menu.
Parameters
| Name | Remarks |
|---|---|
| InName | The FName to use for identifying this sub-menu. Must be unique within the section. |
| InLabel | The user-visible label to use for this sub-menu. |
| InToolTip | The user-visible tooltip to use for this sub-menu. |
| InMakeMenu | The delegate to call to construct the sub-menu. This delegate is called when the user clicks the sub-menu entry. |
| InAction | The delegates to use to make this menu entry interactive. |
| InUserInterfaceActionType | The type of user interface element (such as a checkbox) to use for this entry. |
| bInOpenSubMenuOnClick | Whether or not the sub-menu entry opens when it is hovered or only when clicked. |
| InIcon | The user-visible icon to use for this sub-menu. |
| bShouldCloseWindowAfterMenuSelection | Whether or not the sub-menu should close after one of its entries is clicked. |