FBaseMenuBuilder::AddMenuEntry

Adds a menu entry without the use of a command

Windows
MacOS
Linux

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

Syntax

void AddMenuEntry
(
    const TAttribute< FText > & InLabel,
    const TAttribute< FText > & InToolTip,
    const FSlateIcon & InIcon,
    const FUIAction & UIAction,
    FName InExtensionHook,
    const EUserInterfaceActionType UserInterfaceActionType,
    FName InTutorialHighlightName
)

Remarks

Adds a menu entry without the use of a command

Parameters

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

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss