MnemonicTrigger

class MnemonicTrigger(**properties: Any)

Superclasses: ShortcutTrigger, Object

Constructors:

MnemonicTrigger(**properties)
new(keyval:int) -> Gtk.MnemonicTrigger

Constructors

class MnemonicTrigger
classmethod new(keyval: int) MnemonicTrigger

Creates a GtkShortcutTrigger that will trigger whenever the key with the given keyval is pressed and mnemonics have been activated.

Mnemonics are activated by calling code when a key event with the right modifiers is detected.

Parameters:

keyval – The keyval to trigger for

Methods

class MnemonicTrigger
get_keyval() int

Gets the keyval that must be pressed to succeed triggering self.

Properties

class MnemonicTrigger
props.keyval: int

The key value for the trigger.