KeyboardShortcut#
- class glue_qt.config.KeyboardShortcut[source]#
Bases:
DictRegistryStores keyboard shortcuts. The members property is a dictionary within a dictionary of keyboard shortcuts, which is represented as (viewer,(keybind,function)). The
functionshould take one item, which is a reference to the session.Methods Summary
__call__(keybind, valid_viewers)This is provided so that registry instances can be used as decorators.
add(valid_viewers, keybind, function)Add a new keyboard shortcut
Methods Documentation