Navigation
API > API/Runtime > API/Runtime/Slate
Tool bar button MultiBlock widget
| Name | SToolBarComboButtonBlock |
| Type | class |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/SToolBarComboButtonBlock.h |
| Include Path | #include "Framework/MultiBox/SToolBarComboButtonBlock.h" |
Syntax
class SToolBarComboButtonBlock : public SMultiBlockBaseWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SMultiBlockBaseWidget → SToolBarComboButtonBlock
- FSlateControlledConstruction → SWidget → SCompoundWidget → SMultiBlockBaseWidget → SToolBarComboButtonBlock
Implements Interfaces
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bForceSmallIcons | bool | Whether this toolbar should always use small icons, regardless of the current settings | Framework/MultiBox/SToolBarComboButtonBlock.h | |
| BlockHovered | const FSlateBrush * | The hovered style for the entire block used when the block has multiple widgets | Framework/MultiBox/SToolBarComboButtonBlock.h | |
| CheckBoxStyle | const FCheckBoxStyle * | The checkbox style to be used for simulating checkbox foreground color. | Framework/MultiBox/SToolBarComboButtonBlock.h | |
| ComboButtonWidget | TSharedPtr< SComboButton > | Framework/MultiBox/SToolBarComboButtonBlock.h | ||
| Icon | TAttribute< FSlateIcon > | Optional overridden icon for this tool bar button. | Framework/MultiBox/SToolBarComboButtonBlock.h | |
| LabelVisibilityOverride | TOptional< EVisibility > | Overrides the visibility of the of label. This is used to set up the LabelVisibility attribute | Framework/MultiBox/SToolBarComboButtonBlock.h | |
| LeftHandSideWidget | TSharedPtr< SWidget > | Framework/MultiBox/SToolBarComboButtonBlock.h | ||
| OpenForegroundColor | FSlateColor | The foreground color for button when the combo button is open | Framework/MultiBox/SToolBarComboButtonBlock.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& InArgs |
Construct this widget | Framework/MultiBox/SToolBarComboButtonBlock.h |
Overridden from IMultiBlockBaseWidget
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BuildMultiBlockWidget
(
const ISlateStyle* StyleSet, |
Builds this MultiBlock widget up from the MultiBlock associated with it | Framework/MultiBox/SToolBarComboButtonBlock.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
const FCheckBoxStyle * GetCheckBoxStyle
(
const ISlateStyle* StyleSet, |
Framework/MultiBox/SToolBarComboButtonBlock.h | ||
ECheckBoxState GetCheckState() |
Called by slate to determine if this button should appear checked | Framework/MultiBox/SToolBarComboButtonBlock.h | |
EVisibility GetVisibility() |
Called by Slate to determine if this button is visible | Framework/MultiBox/SToolBarComboButtonBlock.h | |
bool HasAction() |
True if we have an action bound | Framework/MultiBox/SToolBarComboButtonBlock.h | |
bool HasCheckedState() |
True if we have IsChecked bound | Framework/MultiBox/SToolBarComboButtonBlock.h | |
bool IsEnabled() |
Called by Slate to determine if this button is enabled | Framework/MultiBox/SToolBarComboButtonBlock.h | |
void OnCheckStateChanged
(
const ECheckBoxState NewCheckedState |
Called by Slate when this tool bar check box button is toggled | Framework/MultiBox/SToolBarComboButtonBlock.h | |
FReply OnClicked() |
Called by Slate when this tool bar button's button is clicked | Framework/MultiBox/SToolBarComboButtonBlock.h | |
TSharedRef< SWidget > OnGetMenuContent() |
Called by Slate when content for this button's menu needs to be generated | Framework/MultiBox/SToolBarComboButtonBlock.h |