AlternativeTrigger
Description:
[ CCode ( has_construct_function = false , type = "GtkShortcutTrigger*" ) ]
public AlternativeTrigger (owned ShortcutTrigger first, owned ShortcutTrigger second)
public AlternativeTrigger (owned ShortcutTrigger first, owned ShortcutTrigger second)
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:
first |
The first trigger that may trigger |
second |
The second trigger that may trigger |
Returns:
a new `GtkShortcutTrigger` |