FToolBarBuilder::AddToolBarButton

Adds a tool bar button

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 AddToolBarButton
(
    const FUIAction & InAction,
    FName InExtensionHook,
    const TAttribute< FText > & InLabelOverride,
    const TAttribute< FText > & InToolTipOverride,
    const TAttribute< FSlateIcon > & InIconOverride,
    const EUserInterfaceActionType UserInterfaceActionType,
    FName InTutorialHighlightName
)

Remarks

Adds a tool bar button

Parameters

Parameter

Description

UIAction

Actions to execute on this menu item.

InLabel

Label to show in the menu entry

InToolTip

Tool tip used when hovering over the menu entry

InIcon

The icon to use

UserInterfaceActionType

Type of interface action

InTutorialHighlightName

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