Navigation
API > API/Developer > API/Developer/ToolMenus
Sets the owner for all menus created until the end of the current scope (with support for nested scopes). Combines well with UToolMenus::UnregisterOwnerByName.
| Name | FToolMenuOwnerScoped |
| Type | struct |
| Header File | /Engine/Source/Developer/ToolMenus/Public/ToolMenus.h |
| Include Path | #include "ToolMenus.h" |
Syntax
struct FToolMenuOwnerScoped
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FToolMenuOwnerScoped
(
const FToolMenuOwner InOwner |
ToolMenus.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FToolMenuOwnerScoped() |
ToolMenus.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Owner | FToolMenuOwner | ToolMenus.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FToolMenuOwner GetOwner() |
ToolMenus.h |