Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/MultiBox > API/Runtime/Slate/Framework/MultiBox/FToolBarBuilder > API/Runtime/Slate/Framework/MultiBox/FToolBarBuilder/AddToolBarButton
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 AddToolBarButton
&40;
const FUIAction & InAction,
FName InExtensionHook,
const TAttribute< FText > & InLabelOverride,
const TAttribute< FText > & InToolTipOverride,
const TAttribute< FSlateIcon > & InIconOverride,
const EUserInterfaceActionType UserInterfaceActionType,
FName InTutorialHighlightName
&41;
Remarks
Adds a tool bar button
Parameters
| Name | Description |
|---|---|
| UIAction | Actions to execute on this menu item. |
| InLabel | Label to show in the menu entry |
| InToolTip | Tool tip used when hovering over the menu entry |
| InIcon | The icon to use |
| UserInterfaceActionType | Type of interface action |
| InTutorialHighlightName | Name to identify this widget and highlight during tutorials |