Module |
|
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
)
Adds a menu entry without the use of a command
Parameter |
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 |