FToolBarComboButtonBlock::FToolBarComboButtonBlock

Constructor

Windows
MacOS
Linux

References

Module

Slate

Header

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

Include

#include "Framework/MultiBox/SToolBarComboButtonBlock.h"

Source

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

Syntax

FToolBarComboButtonBlock
(
    const FUIAction & InAction,
    const FOnGetContent & InMenuContentGenerator,
    const TAttribute< FText > & InLabel,
    const TAttribute< FText > & InToolTip,
    const TAttribute< FSlateIcon > & InIcon,
    bool bInSimpleComboBox
)

Remarks

Constructor

Parameters

Parameter

Description

InAction

UI action that sets the enabled state for this combo button

InMenuContentGenerator

Delegate that generates a widget for this combo button's menu content. Called when the menu is summoned.

InLabel

Optional label for this combo button.

InToolTip

Tool tip string (required!)

InIcon

Optional icon to use for the tool bar image

bInSimpleComboBox

If true, the icon and label won't be displayed

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