Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/MultiBox > API/Runtime/Slate/Framework/MultiBox/FButtonRowBuilder > API/Runtime/Slate/Framework/MultiBox/FButtonRowBuilder/AddButton
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/MultiBoxBuilder.h |
| Include | #include "Framework/MultiBox/MultiBoxBuilder.h" |
| Source | /Engine/Source/Runtime/Slate/Private/Framework/MultiBox/MultiBoxBuilder.cpp |
void AddButton
&40;
const TSharedPtr< const FUICommandInfo > InCommand,
const TAttribute< FText > & InLabelOverride,
const TAttribute< FText > & InToolTipOverride,
const FSlateIcon & InIconOverride
&41;
Remarks
Adds a button to a row
Parameters
| Name | Description |
|---|---|
| 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. |