Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/MultiBox > API/Runtime/Slate/Framework/MultiBox/FBaseMenuBuilder > API/Runtime/Slate/Framework/MultiBox/FBaseMenuBuilder/AddMenuEntry
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/MultiBoxBuilder.h |
| Include | #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
)
Remarks
Adds a menu entry without the use of a command
Parameters
| Name | Description |
|---|---|
| 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. |