Navigation
API > API/Editor > API/Editor/UnrealEd > API/Editor/UnrealEd/SEditorViewportToolbarMenu
Inheritance Hierarchy
- FSlateBaseNamedArgs
- TSlateBaseNamedArgs
- SEditorViewportToolbarMenu::FArguments
References
| Module | UnrealEd |
| Header | /Engine/Source/Editor/UnrealEd/Public/SEditorViewportToolBarMenu.h |
| Include | #include "SEditorViewportToolBarMenu.h" |
Syntax
struct FArguments : public TSlateBaseNamedArgs< SEditorViewportToolbarMenu >
Constructors
| Type | Name | Description | |
|---|---|---|---|
FArguments () |
Functions
| Type | Name | Description | |
|---|---|---|---|
| WidgetArgsType & | ForegroundColor
(
const TAttribute< FSlateColor >& InAttribute |
The foreground color of the content | |
| WidgetArgsType & | The image to show in the menu. | ||
| WidgetArgsType & | Label
(
const TAttribute< FText >& InAttribute |
The label to show in the menu | |
| WidgetArgsType & | LabelIcon
(
const TAttribute< const FSlateBrush* >& InAttribute |
Optional icon to display next to the label | |
| WidgetArgsType & | MenuStyle
(
const FButtonStyle* InArg |
Style to use | |
| WidgetArgsType & | OnGetMenuContent
(
const FOnGetContent& InDelegate |
Content to show in the menu | |
| WidgetArgsType & | ParentToolBar
(
TSharedPtr< class SViewportToolBar > InArg |
We need to know about the toolbar we are in |
Typedefs
| Name | Description |
|---|---|
| WidgetArgsType |