1.123 <GtkMnemonicTrigger>

Class: <GtkMnemonicTrigger>

It derives from <GtkShortcutTrigger>.

Triggers when a specific mnemonic is pressed.

Mnemonics require a mnemonic modifier (typically Alt) to be pressed together with the mnemonic key.

Properties

Property: mnemonic-trigger:keyval self

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.

Procedures

Method: mnemonic-trigger:get-keyval self ⇒ %return
Method: get-keyval self ⇒ %return

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

self

Passed: a <GtkMnemonicTrigger>.

a mnemonic <GtkShortcutTrigger>

%return

Returned: an unsigned 32-bit integer.

the keyval

Procedure: mnemonic-trigger:new keyval ⇒ %return

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.

keyval

Passed: an unsigned 32-bit integer.

The keyval to trigger for

%return

Returned: a <GtkMnemonicTrigger>.

A new <GtkShortcutTrigger>