Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FButtonRowBuilder
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddButton
(
const TSharedPtr< const FUICommandInfo > InCommand, |
Adds a button to a row | Framework/MultiBox/MultiBoxBuilder.h | |
void AddButton
(
const FText& InLabel, |
Adds a button to a row | Framework/MultiBox/MultiBoxBuilder.h |
AddButton(const TSharedPtr< const FUICommandInfo >, const TAttribute< FText > &, const TAttribute< FText > &, const FSlateIcon &)
Description
Adds a button to a row
| Name | AddButton |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/MultiBoxBuilder.h |
| Include Path | #include "Framework/MultiBox/MultiBoxBuilder.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/MultiBox/MultiBoxBuilder.cpp |
void AddButton
(
const TSharedPtr < const FUICommandInfo > InCommand,
const TAttribute < FText > & InLabelOverride,
const TAttribute < FText > & InToolTipOverride,
const FSlateIcon & InIconOverride
)
Parameters
| Name | Remarks |
|---|---|
| InCommand | The command associated with this tool bar 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. |
AddButton(const FText &, const FText &, const FUIAction &, const FSlateIcon &, const EUserInterfaceActionType)
Description
Adds a button to a row
| Name | AddButton |
| Type | function |
| Header File | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/MultiBoxBuilder.h |
| Include Path | #include "Framework/MultiBox/MultiBoxBuilder.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/MultiBox/MultiBoxBuilder.cpp |
void AddButton
(
const FText & InLabel,
const FText & InToolTip,
const FUIAction & InUIAction,
const FSlateIcon & InIcon,
const EUserInterfaceActionType InUserInterfaceActionType
)
Parameters
| Name | Remarks |
|---|---|
| InLabel | The button label to display |
| InToolTip | The tooltip for the button |
| InUIAction | Action to execute when the button is clicked or when state should be checked |
| InIcon | The icon for the button |
| InUserInterfaceActionType | The style of button to display |