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 TSharedPtr< const FUICommandInfo > InCommand,
    TSharedPtr< const FUICommandList > InCommandList,
    const TAttribute< FText > & InLabelOverride,
    const TAttribute< FText > & InToolTipOverride,
    const TAttribute< FSlateIcon > & InIconOverride
)

Remarks

Constructor

Parameters

Parameter

Description

InCommand

The command associated with this tool bar button

InCommandList

The list of commands that are mapped to delegates so that we know what to execute for this button

InLabelOverride

Optional label override. If omitted, then the action's label will be used instead.

InToolTipOverride

Optional tool tip override. If omitted, then the action's label will be used instead.

InIconOverride

Optional icon to use for the tool bar image. If omitted, then the action's icon will be used instead.

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