Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/MultiBox
Inheritance Hierarchy
- TSharedFromThis
- FMultiBlock
- FToolBarStackButtonBlock
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/SToolBarStackButtonBlock.h |
| Include | #include "Framework/MultiBox/SToolBarStackButtonBlock.h" |
Syntax
class FToolBarStackButtonBlock : public FMultiBlock
Remarks
Tool bar combo button MultiBlock, but toggleable. Right & long-press clicks spawn menu. Designed to hold a stack of tools in one block.
Variables
| Type | Name | Description | |
|---|---|---|---|
| bool | bForceSmallIcons | Whether this toolbar should always use small icons, regardless of the current settings | |
| bool | bSimpleComboBox | If true, the icon and label won't be displayed | |
| TWeakPtr< FUIContentContext > | CachedStackContent | To avoid re-searching the FUICommandList, we cache the last content context | |
| TWeakPtr< FUIIdentifierContext > | CachedStackIdentifier | To avoid re-searching the FUICommandList, we cache the last identifier context | |
| TOptional< EVisibility > | LabelVisibility | Controls the Labels visibility, defaults to GetIconVisibility if no override is provided | |
| FOnGetContent | MenuContentGenerator | Delegate that generates a widget for this combo button's menu content. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FToolBarStackButtonBlock
(
const TSharedRef< const FUICommandInfo > InCommand, |
Constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TSharedPtr< FUIContentContext > | Provides context menu content stack, caches on get | ||
| const TSharedPtr< FUIIdentifierContext > | Provides dynamic, icons, labels, & descriptions for this stack, caches on get | ||
| void | SetForceSmallIcons
(
const bool InForceSmallIcons |
Set whether this toolbar should always use small icons, regardless of the current settings | |
| void | SetLabelVisibility
(
EVisibility InLabelVisibility |
Sets the visibility of the blocks label |
Overridden from FMultiBlock
| Type | Name | Description | |
|---|---|---|---|
| TSharedRef< class IMultiBlockBaseWidget > | Allocates a widget for this type of MultiBlock. Override this in derived classes. | ||
| void | CreateMenuEntry
(
FMenuBuilder& MenuBuilder |
FMultiBlock interface |