Navigation
API > API/Editor > API/Editor/UnrealEd
Widget that opens a menu when clicked
| Name | SEditorViewportToolbarMenu |
| Type | class |
| Header File | /Engine/Source/Editor/UnrealEd/Public/SEditorViewportToolBarMenu.h |
| Include Path | #include "SEditorViewportToolBarMenu.h" |
Syntax
class SEditorViewportToolbarMenu : public SCompoundWidget
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → SWidget → SCompoundWidget → SEditorViewportToolbarMenu
- FSlateControlledConstruction → SWidget → SCompoundWidget → SEditorViewportToolbarMenu
Derived Classes
Structs
| Name | Remarks |
|---|---|
| FArguments |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| LabelIconBrush | TAttribute< const FSlateBrush * > | SEditorViewportToolBarMenu.h | ||
| MenuAnchor | TSharedPtr< SMenuAnchor > | Our menus anchor | SEditorViewportToolBarMenu.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Construct
(
const FArguments& Declaration |
Constructs the menu | SEditorViewportToolBarMenu.h | |
TWeakPtr< class SViewportToolBar > GetParentToolBar() |
Returns parent tool bar | SEditorViewportToolBarMenu.h | |
bool IsMenuOpen() |
SEditorViewportToolBarMenu.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FText GetFilteredToolTipText
(
TAttribute< FText > ToolTipText |
Called to query the tool tip text for this widget, but will return an empty text for menu bar items when a menu for that menu bar is already open | SEditorViewportToolBarMenu.h |