unreal.ToolMenuEntry
¶
- class unreal.ToolMenuEntry(name: Name = 'None', owner: ToolMenuOwner = Ellipsis, type: MultiBlockType = Ellipsis, user_interface_action_type: UserInterfaceActionType = Ellipsis, tutorial_highlight_name: Name = 'None', insert_position: ToolMenuInsert = Ellipsis, should_close_window_after_menu_selection: bool = False, script_object: ToolMenuEntryScript = Ellipsis, style_name_override: Name = 'None')¶
Bases:
StructBase
Tool Menu Entry
C++ Source:
Module: ToolMenus
File: ToolMenuEntry.h
Editor Properties: (see get_editor_property/set_editor_property)
insert_position
(ToolMenuInsert): [Read-Write] Insert Positionname
(Name): [Read-Write] Nameowner
(ToolMenuOwner): [Read-Write] Ownerscript_object
(ToolMenuEntryScript): [Read-Write] Script Objectshould_close_window_after_menu_selection
(bool): [Read-Write] Should Close Window After Menu Selectionstyle_name_override
(Name): [Read-Write] Style Name Overridetutorial_highlight_name
(Name): [Read-Write] Tutorial Highlight Nametype
(MultiBlockType): [Read-Write] Typeuser_interface_action_type
(UserInterfaceActionType): [Read-Write] User Interface Action Type
- property insert_position: ToolMenuInsert¶
[Read-Write] Insert Position
- Type:
- property owner: ToolMenuOwner¶
[Read-Write] Owner
- Type:
- property script_object: ToolMenuEntryScript¶
[Read-Write] Script Object
- Type:
- set_string_command(type, custom_type, string) → None¶
Set String Command
- Parameters:
type (ToolMenuStringCommandType) –
custom_type (Name) –
string (str) –
- property should_close_window_after_menu_selection: bool¶
[Read-Write] Should Close Window After Menu Selection
- Type:
(bool)
- property type: MultiBlockType¶
[Read-Write] Type
- Type:
- property user_interface_action_type: UserInterfaceActionType¶
[Read-Write] User Interface Action Type
- Type: