It derives from <GtkShortcutTrigger>.
Combines two shortcut triggers.
The <GtkAlternativeTrigger> triggers
when either of the two trigger.
This can be cascaded to combine more than two triggers.
The first <GtkShortcutTrigger> to check.
Its value is a <GtkShortcutTrigger>, or
#f.
It can only be set when the object is made, with #:first.
The second <GtkShortcutTrigger> to check.
Its value is a <GtkShortcutTrigger>, or
#f.
It can only be set when the object is made, with #:second.
Gets the first of the two alternative triggers that may trigger self.
alternative-trigger:get-second will return the other one.
Passed: a <GtkAlternativeTrigger>.
an alternative <GtkShortcutTrigger>
Returned: a <GtkShortcutTrigger>.
the first alternative trigger
Gets the second of the two alternative triggers that may trigger self.
alternative-trigger:get-first
will return the other one.
Passed: a <GtkAlternativeTrigger>.
an alternative <GtkShortcutTrigger>
Returned: a <GtkShortcutTrigger>.
the second alternative trigger
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.
Passed: a <GtkShortcutTrigger>.
The first trigger that may trigger
Passed: a <GtkShortcutTrigger>.
The second trigger that may trigger
Returned: a <GtkShortcutTrigger>.
a new <GtkShortcutTrigger>