Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FToolBarBuilder
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddWidget
(
TSharedRef< SWidget > InWidget, |
Adds any widget to the toolbar | Framework/MultiBox/MultiBoxBuilder.h | |
void AddWidget
(
TSharedRef< SWidget > InWidget, |
Adds any widget to the toolbar | Framework/MultiBox/MultiBoxBuilder.h |
AddWidget(TSharedRef< SWidget >, FName, bool, EHorizontalAlignment, FNewMenuDelegate, TAttribute< EVisibility >)
Description
Adds any widget to the toolbar
| Name | AddWidget |
| 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 AddWidget
(
TSharedRef < SWidget > InWidget,
FName InTutorialHighlightName,
bool bInSearchable,
EHorizontalAlignment InAlignment,
FNewMenuDelegate InCustomMenuDelegate,
TAttribute < EVisibility > InVisibilityOverride
)
Parameters
| Name | Remarks |
|---|---|
| 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 |
| InVisibilityOverride | Optional visibility override which, if set and returning anything but Visible, overrides the visibility of the widget. |
AddWidget(TSharedRef< SWidget >, const FMenuEntryStyleParams &, FName, bool, FNewMenuDelegate, TAttribute< EVisibility >, const TAttribute< FMenuEntryResizeParams > &)
Description
Adds any widget to the toolbar
| Name | AddWidget |
| 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 AddWidget
(
TSharedRef < SWidget > InWidget,
const FMenuEntryStyleParams & InStyleParams,
FName InTutorialHighlightName,
bool bInSearchable,
FNewMenuDelegate InCustomMenuDelegate,
TAttribute < EVisibility > InVisibilityOverride,
const TAttribute < FMenuEntryResizeParams > & InResizeParams
)
Parameters
| Name | Remarks |
|---|---|
| InWidget | The widget that should be shown in the toolbar |
| InStyleParams | Style parameters for the widget inside the toolbar |
| InTutorialHighlightName | Name to identify this widget and highlight during tutorials |
| bInSearchable | If true, widget will be searchable (default == true) |
| InCustomMenuDelegate | Optional custom menu delegate for cases where the toolbar is compressed into a menu |
| InVisibilityOverride | Optional visibility override which, if set and returning anything but Visible, overrides the visibility of the widget. |
| InResizeParams | Optional resize parameters to control how this entry behaves during toolbar resizing. |