Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/MultiBox > API/Runtime/Slate/Framework/MultiBox/FToolBarBuilder
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 AddWidget
(
TSharedRef < SWidget > InWidget,
FName InTutorialHighlightName,
bool bInSearchable,
EHorizontalAlignment InAlignment,
FNewMenuDelegate InCustomMenuDelegate
)
Remarks
Adds any widget to the toolbar
Parameters
| Name | Description |
|---|---|
| InWidget | The widget that should be shown in the toolbar |
| InTutorialHighlightName | Name to identify this widget and highlight during tutorials |
| bInSearchable | If true, widget will be searchable (default == true) |
| InAlignment | Horizontal alignment for the widget inside the toolbar |
| InCustomMenuDelegate | Optional custom menu delegate for cases where the toolbar is compressed into a menu |