Class: Gtk::MnemonicTrigger

Inherits:
ShortcutTrigger show all
Defined in:
(unknown)

Instance Method Summary collapse

Methods inherited from ShortcutTrigger

#compare, #equal, #hash, #print, #print_label, #to_label, #to_string, #trigger

Constructor Details

#initialize(keyval) ⇒ Gtk::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 (Integer)

    The keyval to trigger for

Instance Method Details

#keyvalInteger

The key value for the trigger.

Returns:

  • (Integer)

    keyval

#keyval=(keyval) ⇒ Integer

The key value for the trigger.

Parameters:

  • keyval (Integer)

Returns:

  • (Integer)

    keyval

  • (Integer)

    keyval