Module |
|
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 |
void AddComboButton
(
const FUIAction & InAction,
const FOnGetContent & InMenuContentGenerator,
const TAttribute< FText > & InLabelOverride,
const TAttribute< FText > & InToolTipOverride,
const TAttribute< FSlateIcon > & InIconOverride,
bool bInSimpleComboBox,
FName InTutorialHighlightName
)
Adds a combo button
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. |
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. |
bInSimpleComboBox |
If true, the icon and label won't be displayed |
InTutorialHighlightName |
Name to identify this widget and highlight during tutorials |