Class: Gtk::AlternativeTrigger
- Inherits:
-
ShortcutTrigger
- Object
- ShortcutTrigger
- Gtk::AlternativeTrigger
- Defined in:
- (unknown)
Instance Method Summary collapse
-
#first ⇒ Gtk::ShortcutTrigger
The first
GtkShortcutTriggerto check. -
#first=(first) ⇒ Gtk::ShortcutTrigger
The first
GtkShortcutTriggerto check. -
#initialize(first, second) ⇒ Gtk::ShortcutTrigger
constructor
Creates a
GtkShortcutTriggerthat will trigger whenever either of the two given triggers gets triggered. -
#second ⇒ Gtk::ShortcutTrigger
The second
GtkShortcutTriggerto check. -
#second=(second) ⇒ Gtk::ShortcutTrigger
The second
GtkShortcutTriggerto check.
Methods inherited from ShortcutTrigger
#compare, #equal, #hash, #print, #print_label, #to_label, #to_string, #trigger
Constructor Details
#initialize(first, second) ⇒ Gtk::ShortcutTrigger
Creates a GtkShortcutTrigger that will trigger whenever
either of the two given triggers gets triggered.
Note that nesting is allowed, so if you want more than two alternative, create a new alternative trigger for each option.
Instance Method Details
#first ⇒ Gtk::ShortcutTrigger
The first GtkShortcutTrigger to check.
#first=(first) ⇒ Gtk::ShortcutTrigger
The first GtkShortcutTrigger to check.
#second ⇒ Gtk::ShortcutTrigger
The second GtkShortcutTrigger to check.
#second=(second) ⇒ Gtk::ShortcutTrigger
The second GtkShortcutTrigger to check.