Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FMenuBuilder
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddSubMenu
(
const TSharedRef< SWidget > Contents, |
Framework/MultiBox/MultiBoxBuilder.h | ||
void AddSubMenu
(
const FUIAction& UIAction, |
Framework/MultiBox/MultiBoxBuilder.h | ||
void AddSubMenu
(
const TAttribute< FText >& InMenuLabel, |
Framework/MultiBox/MultiBoxBuilder.h | ||
void AddSubMenu
(
const TAttribute< FText >& InMenuLabel, |
Adds a sub-menu which is a menu within a menu | Framework/MultiBox/MultiBoxBuilder.h |
AddSubMenu(const TSharedRef< SWidget >, const FNewMenuDelegate &, const bool, const bool, const TAttribute< EVisibility > &)
| Name | AddSubMenu |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/MultiBoxBuilder.h |
| Include Path | #include "Framework/MultiBox/MultiBoxBuilder.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/MultiBox/MultiBoxBuilder.cpp |
void AddSubMenu
(
const TSharedRef < SWidget > Contents,
const FNewMenuDelegate & InSubMenu,
const bool bInOpenSubMenuOnClick,
const bool bInShouldCloseWindowAfterMenuSelection,
const TAttribute < EVisibility > & InVisibility
)
AddSubMenu(const FUIAction &, const TSharedRef< SWidget >, const FNewMenuDelegate &, const bool, const TAttribute< EVisibility > &)
| Name | AddSubMenu |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/MultiBoxBuilder.h |
| Include Path | #include "Framework/MultiBox/MultiBoxBuilder.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/MultiBox/MultiBoxBuilder.cpp |
void AddSubMenu
(
const FUIAction & UIAction,
const TSharedRef < SWidget > Contents,
const FNewMenuDelegate & InSubMenu,
const bool bInShouldCloseWindowAfterMenuSelection,
const TAttribute < EVisibility > & InVisibility
)
AddSubMenu(const TAttribute< FText > &, const TAttribute< FText > &, const FNewMenuDelegate &, const bool, const FSlateIcon &, const bool, FName, FName, const TAttribute< EVisibility > &)
| Name | AddSubMenu |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/MultiBoxBuilder.h |
| Include Path | #include "Framework/MultiBox/MultiBoxBuilder.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/MultiBox/MultiBoxBuilder.cpp |
void AddSubMenu
(
const TAttribute < FText > & InMenuLabel,
const TAttribute < FText > & InToolTip,
const FNewMenuDelegate & InSubMenu,
const bool bInOpenSubMenuOnClick,
const FSlateIcon & InIcon,
const bool bInShouldCloseWindowAfterMenuSelection,
FName InExtensionHook,
FName InTutorialHighlightName,
const TAttribute < EVisibility > & InVisibility
)
AddSubMenu(const TAttribute< FText > &, const TAttribute< FText > &, const FNewMenuDelegate &, const FUIAction &, FName, const EUserInterfaceActionType, const bool, const FSlateIcon &, const bool, const TAttribute< EVisibility > &, const TAttribute< FText > &)
Description
Adds a sub-menu which is a menu within a menu
| Name | AddSubMenu |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/MultiBoxBuilder.h |
| Include Path | #include "Framework/MultiBox/MultiBoxBuilder.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/MultiBox/MultiBoxBuilder.cpp |
void AddSubMenu
(
const TAttribute < FText > & InMenuLabel,
const TAttribute < FText > & InToolTip,
const FNewMenuDelegate & InSubMenu,
const FUIAction & InUIAction,
FName InExtensionHook,
const EUserInterfaceActionType InUserInterfaceActionType,
const bool bInOpenSubMenuOnClick,
const FSlateIcon & InIcon,
const bool bInShouldCloseWindowAfterMenuSelection,
const TAttribute < EVisibility > & InVisibility,
const TAttribute < FText > & InInputBindingOverride
)
Parameters
| Name | Remarks |
|---|---|
| InMenuLabel | The text that should be shown for the menu |
| InToolTip | The tooltip that should be shown when the menu is hovered over |
| InSubMenu | Sub-Menu object which creates menu entries for the sub-menu |
| InUIAction | Actions to execute on this menu item. |
| InExtensionHook | The section hook. Can be NAME_None |
| InUserInterfaceActionType | Type of interface action |
| bInOpenSubMenuOnClick | Sub-menu will open only if the sub-menu entry is clicked |
| InIcon | The icon to use |
| bInShouldCloseWindowAfterMenuSelection | Whether the submenu should close after an item is selected |
| InVisibility | Optional Visibility Override. Can be used to show/hide this entry dynamically. |