Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/MultiBox > API/Runtime/Slate/Framework/MultiBox/FMenuBuilder
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
&40;
TSharedRef< SWidget > InWidget,
const FText & Label,
bool bNoIndent,
bool bSearchable,
const TAttribute< FText > & InToolTipText
&41;
Remarks
Adds any widget to the menu
Parameters
| Name | Description |
|---|---|
| InWidget | The widget that should be shown in the menu |
| InLabel | Optional label text to be added to the left of the content |
| bNoIndent | If true, removes the padding from the left of the widget that lines it up with other menu items (default == false) |
| bSearchable | If true, widget will be searchable (default == true) |
| InToolTipText | Optional tooltip text to be added to the widget and label |