Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FToolBarButtonBlock
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FToolBarButtonBlock
(
FButtonArgs ButtonArgs |
Framework/MultiBox/SToolBarButtonBlock.h | ||
FToolBarButtonBlock
(
const TSharedPtr< const FUICommandInfo > InCommand, |
Constructor | Framework/MultiBox/SToolBarButtonBlock.h | |
FToolBarButtonBlock
(
const TAttribute< FText >& InLabel, |
Constructor | Framework/MultiBox/SToolBarButtonBlock.h |
FToolBarButtonBlock(FButtonArgs)
| Name | FToolBarButtonBlock |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/SToolBarButtonBlock.h |
| Include Path | #include "Framework/MultiBox/SToolBarButtonBlock.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/MultiBox/SToolBarButtonBlock.cpp |
FToolBarButtonBlock
(
FButtonArgs ButtonArgs
)
FToolBarButtonBlock(const TSharedPtr< const FUICommandInfo >, TSharedPtr< const FUICommandList >, const TAttribute< FText > &, const TAttribute< FText > &, const TAttribute< FSlateIcon > &, TAttribute< FText >)
Description
Constructor
| Name | FToolBarButtonBlock |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/SToolBarButtonBlock.h |
| Include Path | #include "Framework/MultiBox/SToolBarButtonBlock.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/MultiBox/SToolBarButtonBlock.cpp |
FToolBarButtonBlock
(
const TSharedPtr < const FUICommandInfo > InCommand,
TSharedPtr < const FUICommandList > InCommandList,
const TAttribute < FText > & InLabelOverride,
const TAttribute < FText > & InToolTipOverride,
const TAttribute < FSlateIcon > & InIconOverride,
TAttribute < FText > InToolbarLabelOverride
)
Parameters
| Name | Remarks |
|---|---|
| InCommand | The command associated with this tool bar button |
| InCommandList | The list of commands that are mapped to delegates so that we know what to execute for this button |
| 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. |
| InToolbarLabelOverride | Optional label to use when the block appears in a toolbar. If omitted, then the label override or command name will be used instead. |
FToolBarButtonBlock(const TAttribute< FText > &, const TAttribute< FText > &, const TAttribute< FSlateIcon > &, const FUIAction &, const EUserInterfaceActionType, TAttribute< FText >)
Description
Constructor
| Name | FToolBarButtonBlock |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/SToolBarButtonBlock.h |
| Include Path | #include "Framework/MultiBox/SToolBarButtonBlock.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/MultiBox/SToolBarButtonBlock.cpp |
FToolBarButtonBlock
(
const TAttribute < FText > & InLabel,
const TAttribute < FText > & InToolTip,
const TAttribute < FSlateIcon > & InIcon,
const FUIAction & InUIAction,
const EUserInterfaceActionType InUserInterfaceActionType,
TAttribute < FText > InToolbarLabelOverride
)
Parameters
| Name | Remarks |
|---|---|
| InLabel | The label to display in the menu |
| InToolTip | The tool tip to display when the menu entry is hovered over |
| InIcon | The icon to display to the left of the label |
| InUIAction | UI action to take when this menu item is clicked as well as to determine if the menu entry can be executed or appears "checked" |
| InUserInterfaceActionType | Type of interface action |
| InToolbarLabelOverride | Optional label to use when the block appears in a toolbar. If omitted, then the label override or command name will be used instead. |