FToolBarButtonBlock::FToolBarButtonBlock

Constructor

Windows
MacOS
Linux

References

Module

Slate

Header

/Engine/Source/Runtime/Slate/Public/Framework/MultiBox/SToolBarButtonBlock.h

Include

#include "Framework/MultiBox/SToolBarButtonBlock.h"

Source

/Engine/Source/Runtime/Slate/Private/Framework/MultiBox/SToolBarButtonBlock.cpp

Syntax

FToolBarButtonBlock
(
    const TAttribute< FText > & InLabel,
    const TAttribute< FText > & InToolTip,
    const TAttribute< FSlateIcon > & InIcon,
    const FUIAction & InUIAction,
    const EUserInterfaceActionType InUserInterfaceActionType
)

Remarks

Constructor

Parameters

Parameter

Description

InLabel

The label to display in the menu

InToolTip

The tool tip to display when the menu entry is hovered over

InIcon

The icon to display to the left of the label

InUIAction

UI action to take when this menu item is clicked as well as to determine if the menu entry can be executed or appears "checked"

InUserInterfaceActionType

Type of interface action

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