Gtk.KeyvalTrigger¶
class — extends ShortcutTrigger
Triggers when a specific keyval and modifiers are pressed.
Constructors¶
new¶
Creates a GtkShortcutTrigger that will trigger whenever
the key with the given keyval and modifiers is pressed.
Parameters:
keyval— The keyval to trigger formodifiers— the modifiers that need to be present
Methods¶
get_keyval¶
Gets the keyval that must be pressed to succeed
triggering self.
get_modifiers¶
Gets the modifiers that must be present to succeed
triggering self.
Properties¶
keyval¶
The key value for the trigger.
modifiers¶
The key modifiers for the trigger.