KeyvalTrigger#
Superclasses: ShortcutTrigger, Object
A GtkShortcutTrigger that triggers when a specific keyval and modifiers are pressed.
Constructors#
- class KeyvalTrigger
- classmethod new(keyval: int, modifiers: ModifierType) ShortcutTrigger#
Creates a
GtkShortcutTriggerthat will trigger whenever the key with the givenkeyvalandmodifiersis pressed.- Parameters:
keyval – The keyval to trigger for
modifiers – the modifiers that need to be present
Methods#
- class KeyvalTrigger
-
- get_modifiers() ModifierType#
Gets the modifiers that must be present to succeed triggering
self.
Properties#
- class KeyvalTrigger
-
- props.modifiers: ModifierType#
The type of the None singleton.