Navigation
API > API/Runtime > API/Runtime/Slate > API/Runtime/Slate/Framework > API/Runtime/Slate/Framework/MultiBox
Inheritance Hierarchy
- FMultiBoxBuilder
- FBaseMenuBuilder
- FMenuBuilder
References
| Module | Slate |
| Header | /Engine/Source/Runtime/Slate/Public/Framework/MultiBox/MultiBoxBuilder.h |
| Include | #include "Framework/MultiBox/MultiBoxBuilder.h" |
Syntax
class FMenuBuilder : public FBaseMenuBuilder
Remarks
Vertical menu builder
Constructors
| Type | Name | Description | |
|---|---|---|---|
FMenuBuilder
(
const bool bInShouldCloseWindowAfterMenuSelection, |
Constructor |
Functions
| Type | Name | Description | |
|---|---|---|---|
| void | AddMenuSeparator
(
FName InExtensionHook |
Adds a separator | |
| void | Adds the widget the multibox will use for searching | ||
| void | AddSeparator
(
FName InExtensionHook |
||
| void | AddSubMenu
(
const TAttribute< FText >& InMenuLabel, |
Adds a sub-menu which is a menu within a menu | |
| void | AddSubMenu
(
const TAttribute< FText >& InMenuLabel, |
||
| void | AddSubMenu
(
const FUIAction& UIAction, |
||
| void | AddSubMenu
(
const TSharedRef< SWidget > Contents, |
||
| void | AddWidget
(
TSharedRef< SWidget > InWidget, |
Adds any widget to the menu | |
| void | AddWrapperSubMenu
(
const FText& InMenuLabel, |
These classes need access to the AddWrapperSubMenu() methods friend class FWidgetBlock; friend class FToolBarComboButtonBlock; Adds a sub-menu which is a menu within a menu | |
| void | AddWrapperSubMenu
(
const FText& InMenuLabel, |
||
| void | AddWrapperSubMenu
(
const FText& InMenuLabel, |
Adds a sub-menu which is a menu within a menu | |
| void | BeginSection
(
FName InExtensionHook, |
Starts a section on to the extender section hook stack | |
| void | EndSection () |
Ends the current section | |
| void | SetIsEditing
(
bool bInIsEditing |
Overridden from FMultiBoxBuilder
| Type | Name | Description | |
|---|---|---|---|
| void | ApplyHook
(
FName InExtensionHook, |
FMultiBoxBuilder interface | |
| void | Applies the beginning of a section, including the header and relevant separator | ||
| TSharedRef< class SWidget > | MakeWidget
(
FMultiBox::FOnMakeMultiBoxBuilderOverride* InMakeMultiBoxBuilderOverride, |
Creates a widget for this MultiBox |