unreal.ToolMenuStringCommand

class unreal.ToolMenuStringCommand(type: ToolMenuStringCommandType = Ellipsis, custom_type: Name = 'None', string: str = '')

Bases: StructBase

Tool Menu String Command

C++ Source:

  • Module: ToolMenus

  • File: ToolMenuMisc.h

Editor Properties: (see get_editor_property/set_editor_property)

  • custom_type (Name): [Read-Write] Custom Type: Which command handler to use when type is custom

  • string (str): [Read-Write] String: String to pass to command handler

  • type (ToolMenuStringCommandType): [Read-Write] Type: Which command handler to use

property custom_type: Name

[Read-Write] Custom Type: Which command handler to use when type is custom

Type:

(Name)

property string: str

[Read-Write] String: String to pass to command handler

Type:

(str)

property type: ToolMenuStringCommandType

[Read-Write] Type: Which command handler to use

Type:

(ToolMenuStringCommandType)