uiMenuItem#

class omni.kit.menu.core.core.uiMenuItem(*args, **kwargs)#

Bases: MenuItem

ui.MenuItem subclass. Has glyph, menu_checkable, menu_hotkey_text, and parent_menu properties

Parameters:

args – Positional arguments passed to the parent class.

Keyword Arguments:
  • glyph – Custom glyph for the menu item.

  • menu_checkable – Indicates if the menu item is checkable.

  • menu_hotkey_text – Hotkey text for the menu item.

  • parent_menu – Reference to the parent menu.

  • radio_group – Radio group to which this menu item belongs.

Methods

__init__(*args, **kwargs)

Initializes a new instance of the uiMenuItem class.

Attributes

__init__(*args, **kwargs)#

Initializes a new instance of the uiMenuItem class.