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
&40;
const FUIAction & UIAction,
const TSharedRef< SWidget > Contents,
const FName & InExtensionHook,
const TAttribute< FText > & InToolTip,
const EUserInterfaceActionType UserInterfaceActionType,
FName InTutorialHighlightName
&41;
Remarks
Adds a menu entry with a custom widget
Parameters
| Name | Description |
|---|---|
| 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 |