Houdini 20.5 Python scripting hou hou.qt

hou.qt.hotkeyAssignments HOM function

Return a tuple of strings that represent the hotkeys currently assigned to each action associated with a tuple of hotkey symbols. The key strings are of the form returned by the hou.ui.hotkeys method, which is a combination of the symbol on the key, and any modifier keys involved, such as "Ctrl+Shift+G".

hotkeyAssignments(widget, hotkey_symbols) tuple of tuple of str

widget

The widget in whose context’s to look up the assignments.

hotkey_symbols

A tuple of hotkey symbols to look up.

See also hou.qt.registerKeyResolveInfoCallback() and hou.qt.resolveKeyEvent().

hou.qt