EmptyHotkey

class omni.kit.hotkeys.window.model.hotkey_item.EmptyHotkey(hotkey_ext_id: str)

Bases: Hotkey

Methods

__init__(hotkey_ext_id)

Define a hotkey object.

Attributes

__init__(hotkey_ext_id: str)

Define a hotkey object.

Parameters
  • hotkey_ext_id (str) – Extension id which owns the hotkey.

  • key (Union[str, KeyCombination]) – Key combination.

  • action_ext_id (str) – Extension id which owns the action assigned to the hotkey.

  • action_id (str) – Action id assigned to the hotkey.

Keyword Arguments

filter (Optional[HotkeyFilter]) – Hotkey filter. Default None

Returns

The hotkey object that was created.