It derives from <GtkShortcutTrigger>.
Triggers when a specific keyval and modifiers are pressed.
The key value for the trigger.
Its value is an unsigned 32-bit integer.
It can only be set when the object is made, with #:keyval.
The key modifiers for the trigger.
Its value is a <GdkModifierType> (or, to
set it, a list of its symbols, or one of them).
It can only be set when the object is made, with #:modifiers.
Gets the keyval that must be pressed to succeed triggering self.
Passed: a <GtkKeyvalTrigger>.
a keyval <GtkShortcutTrigger>
Returned: an unsigned 32-bit integer.
the keyval
Gets the modifiers that must be present to succeed triggering self.
Passed: a <GtkKeyvalTrigger>.
a keyval <GtkShortcutTrigger>
Returned: a <GdkModifierType>.
the modifiers
Creates a <GtkShortcutTrigger> that will
trigger whenever the key with the given keyval and modifiers
is pressed.
Passed: an unsigned 32-bit integer.
The keyval to trigger for
Passed: a <GdkModifierType>, or a list of
its symbols, or one of them.
the modifiers that need to be present
Returned: a <GtkShortcutTrigger>.
A new <GtkShortcutTrigger>