Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/MultiBox
Inheritance Hierarchy
- TSharedFromThis
- FMultiBlock
- FToolBarButtonBlock
- FUniformToolbarButtonBlock
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/SToolBarButtonBlock.h |
| Include | #include "Framework/MultiBox/SToolBarButtonBlock.h" |
Syntax
class FToolBarButtonBlock : public FMultiBlock
Remarks
Tool bar button MultiBlock
Constructors
| Type | Name | Description | |
|---|---|---|---|
FToolBarButtonBlock
(
FButtonArgs ButtonArgs |
|||
FToolBarButtonBlock
(
const TSharedPtr< const FUICommandInfo > InCommand, |
Constructor | ||
FToolBarButtonBlock
(
const TAttribute< FText >& InLabel, |
Constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | |||
| void | SetBorderBrushName
(
const FName InBorderBrushName |
Set the border brush for this toolbar button block | |
| void | SetCustomMenuDelegate
(
FNewMenuDelegate& InOnFillMenuDelegate |
Set optional delegate to customize when a menu appears instead of the widget, such as in toolbars | |
| void | SetForceSmallIcons
(
const bool InForceSmallIcons |
Set whether this toolbar should always use small icons, regardless of the current settings | |
| void | SetIsFocusable
(
bool bInIsFocusable |
||
| void | SetLabelVisibility
(
EVisibility InLabelVisibility |
||
| void | SetOnGetMenuContent
(
FOnGetContent& OnGetMenuContent |
Overridden from FMultiBlock
| Type | Name | Description | |
|---|---|---|---|
| void | CreateMenuEntry
(
FMenuBuilder& MenuBuilder |
FMultiBlock interface | |
| bool | HasIcon () |