Module |
|
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 |
FToolBarComboButtonBlock
(
const FUIAction & InAction,
const FOnGetContent & InMenuContentGenerator,
const TAttribute< FText > & InLabel,
const TAttribute< FText > & InToolTip,
const TAttribute< FSlateIcon > & InIcon,
bool bInSimpleComboBox
)
Constructor
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 |