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 TSharedPtr < const FUICommandInfo > InCommand,
FName InExtensionHook,
const TAttribute < FText > & InLabelOverride,
const TAttribute < FText > & InToolTipOverride,
const FSlateIcon & InIconOverride,
FName InTutorialHighlightName
)
Remarks
Adds a menu entry
Parameters
| Name | Description |
|---|---|
| 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 |