Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/MultiBox
Inheritance Hierarchy
- IMultiBlockBaseWidget
- SCompoundWidget
- SMultiBlockBaseWidget
- SToolBarStackButtonBlock
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/SToolBarStackButtonBlock.h |
| Include | #include "Framework/MultiBox/SToolBarStackButtonBlock.h" |
Syntax
class SToolBarStackButtonBlock : public SMultiBlockBaseWidget
Remarks
Tool bar button MultiBlock widget
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bForceSmallIcons | Whether this toolbar should always use small icons, regardless of the current settings | |
| TAttribute< FSlateIcon > | Icon | Optional overridden icon for this tool bar button. | |
| TAttribute< EVisibility > | LabelVisibility | Controls the visibility of the of label, defaults to GetIconVisibility | |
| TOptional< EVisibility > | LabelVisibilityOverride | Overrides the visibility of the of label. This is used to set up the LabelVisibility attribute | |
| FSlateColor | OpenForegroundColor | The foreground color for button when the combo button is open | |
| TSharedPtr< SCheckBoxStack > | StackButtonWidget |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | Construct
(
const FArguments& InArgs |
Construct this widget | |
| ECheckBoxState | Called by slate to determine if this button should appear checked | ||
| FText | Gets the description for the toolbar block widget | ||
| const FSlateBrush * | GetIconBrush () |
Gets the icon brush for the toolbar block widget | |
| FSlateColor | |||
| EVisibility | GetIconVisibility
(
bool bIsASmallIcon |
Called by Slate to determine whether icons/labels are visible | |
| FText | GetLabel () |
Gets the label for the toolbar block widget | |
| const FSlateBrush * | |||
| const FSlateBrush * | |||
| const FSlateBrush * | |||
| EVisibility | Called by Slate to determine if this button is visible | ||
| bool | IsEnabled () |
Called by Slate to determine if this button is enabled | |
| void | OnCheckStateChanged
(
const ECheckBoxState NewCheckedState |
Called by Slate when this tool bar check box button is toggled | |
| TSharedRef< SWidget > | Called by Slate when content for this button's menu needs to be generated |
Overridden from IMultiBlockBaseWidget
| Type | Name | Description | |
|---|---|---|---|
| void | BuildMultiBlockWidget
(
const ISlateStyle* StyleSet, |
Builds this MultiBlock widget up from the MultiBlock associated with it |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FArguments |