Class: Gtk::KeyvalTrigger
- Inherits:
-
ShortcutTrigger
- Object
- ShortcutTrigger
- Gtk::KeyvalTrigger
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#initialize(keyval, modifiers) ⇒ Gtk::ShortcutTrigger
constructor
Creates a
GtkShortcutTriggerthat will trigger whenever the key with the given keyval and modifiers is pressed. -
#keyval ⇒ Integer
The key value for the trigger.
-
#keyval=(keyval) ⇒ Integer
The key value for the trigger.
-
#modifiers ⇒ Gdk::ModifierType
The key modifiers for the trigger.
-
#modifiers=(modifiers) ⇒ Gdk::ModifierType
The key modifiers for the trigger.
Methods inherited from ShortcutTrigger
#compare, #equal, #hash, #print, #print_label, #to_label, #to_string, #trigger
Constructor Details
#initialize(keyval, modifiers) ⇒ Gtk::ShortcutTrigger
Creates a GtkShortcutTrigger that will trigger whenever
the key with the given keyval and modifiers is pressed.
Instance Method Details
#keyval ⇒ Integer
The key value for the trigger.
#keyval=(keyval) ⇒ Integer
The key value for the trigger.
#modifiers ⇒ Gdk::ModifierType
The key modifiers for the trigger.
#modifiers=(modifiers) ⇒ Gdk::ModifierType
The key modifiers for the trigger.