Creates a gtk.shortcut_trigger.ShortcutTrigger that will trigger whenever the key with the given keyval and modifiers is pressed.
Gets the keyval that must be pressed to succeed triggering self.
Gets the modifiers that must be present to succeed triggering self.
Returns this, for use in with statements.
Get keyval property.
Get modifiers property.
Get builder for gtk.keyval_trigger.KeyvalTrigger
Returns this, for use in with statements.
Get builder for gtk.shortcut_trigger.ShortcutTrigger
Tries to parse the given string into a trigger.
The types of trigger1 and trigger2 are gconstpointer only to allow use of this function as a glib.types.CompareFunc.
Checks if trigger1 and trigger2 trigger under the same conditions.
Generates a hash value for a gtk.shortcut_trigger.ShortcutTrigger.
Prints the given trigger into a string for the developer. This is meant for debugging and logging.
Prints the given trigger into a string.
Gets textual representation for the given trigger.
Prints the given trigger into a human-readable string.
Checks if the given event triggers self.
A gtk.shortcut_trigger.ShortcutTrigger that triggers when a specific keyval and modifiers are pressed.