Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/FMenuBuilder
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddWidget
(
TSharedRef< SWidget > InWidget, |
Adds any widget to the menu | Framework/MultiBox/MultiBoxBuilder.h | |
void AddWidget
(
const TSharedRef< SWidget >& InWidget, |
Adds any widget to the menu | Framework/MultiBox/MultiBoxBuilder.h | |
void AddWidget
(
const TSharedRef< SWidget >& InWidget, |
Adds any widget to the menu | Framework/MultiBox/MultiBoxBuilder.h |
AddWidget(TSharedRef< SWidget >, const FText &, bool, bool, const TAttribute< FText > &)
Description
Adds any widget to the menu
| 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 FText & InLabel,
bool bInNoIndent,
bool bInSearchable,
const TAttribute < FText > & InToolTipText
)
Parameters
| Name | Remarks |
|---|---|
| InWidget | The widget that should be shown in the menu |
| InLabel | Optional label text to be added to the left of the content |
| bInNoIndent | If true, removes the padding from the left of the widget that lines it up with other menu items (default == false) |
| bInSearchable | If true, widget will be searchable (default == true) |
| InToolTipText | Optional tooltip text to be added to the widget and label |
AddWidget(const TSharedRef< SWidget > &, const FText &, const FMenuEntryStyleParams &, bool, const TAttribute< FText > &, const TAttribute< FSlateIcon > &, const TAttribute< EVisibility > &)
Description
Adds any widget to the menu
| 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
(
const TSharedRef < SWidget > & InWidget,
const FText & InLabel,
const FMenuEntryStyleParams & InStyleParams,
bool bInSearchable,
const TAttribute < FText > & InToolTipText,
const TAttribute < FSlateIcon > & InIcon,
const TAttribute < EVisibility > & InVisibility
)
Parameters
| Name | Remarks |
|---|---|
| InWidget | The widget that should be shown in the menu |
| InLabel | Optional label text to be added to the left of the content |
| InStyleParams | Optional style parameters and overrides, |
| bInSearchable | If true, widget will be searchable (default == true) |
| InToolTipText | Optional tooltip text to be added to the widget and label |
| InIcon | Optional icon to be shown to the left of the label/content |
See Also
AddWidget(const TSharedRef< SWidget > &, const FText &, const FMenuEntryStyleParams &, const TAttribute< FMenuEntryResizeParams > &, bool, const TAttribute< FText > &, const TAttribute< FSlateIcon > &, const TAttribute< EVisibility > &)
Description
Adds any widget to the menu
| 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
(
const TSharedRef < SWidget > & InWidget,
const FText & InLabel,
const FMenuEntryStyleParams & InStyleParams,
const TAttribute < FMenuEntryResizeParams > & InResizeParams,
bool bInSearchable,
const TAttribute < FText > & InToolTipText,
const TAttribute < FSlateIcon > & InIcon,
const TAttribute < EVisibility > & InVisibility
)
Parameters
| Name | Remarks |
|---|---|
| InWidget | The widget that should be shown in the menu |
| InLabel | Optional label text to be added to the left of the content |
| InStyleParams | Optional style parameters and overrides, |
| InResizeParams | Optional resize parameters and overrides, |
| bInSearchable | If true, widget will be searchable (default == true) |
| InToolTipText | Optional tooltip text to be added to the widget and label |
| InIcon | Optional icon to be shown to the left of the label/content |