Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FBaseMenuBuilder
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddMenuEntry
(
const FMenuEntryParams& InMenuEntryParams |
Adds a menu entry with given param struct | Framework/MultiBox/MultiBoxBuilder.h | |
void AddMenuEntry
(
const TSharedPtr< const FUICommandInfo > InCommand, |
Adds a menu entry | Framework/MultiBox/MultiBoxBuilder.h | |
void AddMenuEntry
(
const FUIAction& UIAction, |
Adds a menu entry with a custom widget | Framework/MultiBox/MultiBoxBuilder.h | |
void AddMenuEntry
(
const TAttribute< FText >& InLabel, |
Adds a menu entry without the use of a command | Framework/MultiBox/MultiBoxBuilder.h |
AddMenuEntry(const FMenuEntryParams &)
Description
Adds a menu entry with given param struct
| Name | AddMenuEntry |
| 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 AddMenuEntry
(
const FMenuEntryParams & InMenuEntryParams
)
AddMenuEntry(const TSharedPtr< const FUICommandInfo >, FName, const TAttribute< FText > &, const TAttribute< FText > &, const FSlateIcon &, FName, const TAttribute< EVisibility > &)
Description
Adds a menu entry
| Name | AddMenuEntry |
| 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 AddMenuEntry
(
const TSharedPtr < const FUICommandInfo > InCommand,
FName InExtensionHook,
const TAttribute < FText > & InLabelOverride,
const TAttribute < FText > & InToolTipOverride,
const FSlateIcon & InIconOverride,
FName InTutorialHighlightName,
const TAttribute < EVisibility > & InVisibility
)
Parameters
| Name | Remarks |
|---|---|
| InCommand | The command associated with this menu entry |
| InExtensionHook | The section hook. Can be NAME_None |
| InLabelOverride | Optional label override. If omitted, then the action's label will be used instead. |
| InToolTipOverride | Optional tool tip override. If omitted, then the action's label will be used instead. |
| InIconOverride | Optional name of the slate brush to use for the tool bar image. If omitted, then the command's icon will be used instead. |
| InTutorialHighlightName | Optional name to identify this widget and highlight during tutorials |
| InVisibility | Optional Visibility Override. Can be used to show/hide this entry dynamically. |
AddMenuEntry(const FUIAction &, const TSharedRef< SWidget >, const FName &, const TAttribute< FText > &, const EUserInterfaceActionType, FName, const TAttribute< EVisibility > &)
Description
Adds a menu entry with a custom widget
| Name | AddMenuEntry |
| 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 AddMenuEntry
(
const FUIAction & UIAction,
const TSharedRef < SWidget > Contents,
const FName & InExtensionHook,
const TAttribute < FText > & InToolTip,
const EUserInterfaceActionType UserInterfaceActionType,
FName InTutorialHighlightName,
const TAttribute < EVisibility > & InVisibility
)
Parameters
| Name | Remarks |
|---|---|
| UIAction | Actions to execute on this menu item. |
| Contents | Custom widget to display |
| InExtensionHook | The section hook. Can be NAME_None |
| InToolTip | Tool tip used when hovering over the menu entry |
| UserInterfaceActionType | Type of interface action |
| InTutorialHighlightName | Optional name to identify this widget and highlight during tutorials |
| InVisibility | Optional Visibility Override. Can be used to show/hide this entry dynamically. |
AddMenuEntry(const TAttribute< FText > &, const TAttribute< FText > &, const FSlateIcon &, const FUIAction &, FName, const EUserInterfaceActionType, FName, const TAttribute< FText > &, const TAttribute< EVisibility > &)
Description
Adds a menu entry without the use of a command
| Name | AddMenuEntry |
| 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 AddMenuEntry
(
const TAttribute < FText > & InLabel,
const TAttribute < FText > & InToolTip,
const FSlateIcon & InIcon,
const FUIAction & UIAction,
FName InExtensionHook,
const EUserInterfaceActionType UserInterfaceActionType,
FName InTutorialHighlightName,
const TAttribute < FText > & InInputBindingOverride,
const TAttribute < EVisibility > & InVisibility
)
Parameters
| Name | Remarks |
|---|---|
| InLabel | Label to show in the menu entry |
| InToolTip | Tool tip used when hovering over the menu entry |
| InIcon | The icon to use |
| UIAction | Actions to execute on this menu item. |
| InExtensionHook | The section hook. Can be NAME_None |
| UserInterfaceActionType | Type of interface action |
| InTutorialHighlightName | Optional name to identify this widget and highlight during tutorials |
| InInputBindingOverride | Optional overridden input binding text for this menu entry. If not set, then the UI action's binding will be used if available. |
| InVisibility | Optional Visibility Override. Can be used to show/hide this entry dynamically. |