AlternativeTrigger.this

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.

  1. this(GtkAlternativeTrigger* gtkAlternativeTrigger, bool ownedRef)
  2. this(ShortcutTrigger first, ShortcutTrigger second)
    class AlternativeTrigger

Parameters

first ShortcutTrigger

The first trigger that may trigger

second ShortcutTrigger

The second trigger that may trigger

Return Value

a new GtkShortcutTrigger

Throws

ConstructionException GTK+ fails to create the object.

Meta