Class: Gtk::AlternativeTrigger

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(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.

Parameters:

Instance Method Details

#firstGtk::ShortcutTrigger

The first GtkShortcutTrigger to check.

Returns:

#first=(first) ⇒ Gtk::ShortcutTrigger

The first GtkShortcutTrigger to check.

Parameters:

Returns:

#secondGtk::ShortcutTrigger

The second GtkShortcutTrigger to check.

Returns:

#second=(second) ⇒ Gtk::ShortcutTrigger

The second GtkShortcutTrigger to check.

Parameters:

Returns: