gtk.alternative_trigger
Module for [AlternativeTrigger] class
Types 3
A gtk.shortcut_trigger.ShortcutTrigger that combines two triggers.
The gtk.alternative_trigger.AlternativeTrigger triggers when either of two trigger.
This can be cascaded to combine more than two triggers.
Methods
AlternativeTriggerGidBuilder builder() static nothrowGet builder for [gtk.alternative_trigger.AlternativeTrigger] Returns: New builder objectgtk.shortcut_trigger.ShortcutTrigger first() @property nothrowGet `first` property. Returns: The first [gtk.shortcut_trigger.ShortcutTrigger] to check.gtk.shortcut_trigger.ShortcutTrigger second() @property nothrowGet `second` property. Returns: The second [gtk.shortcut_trigger.ShortcutTrigger] to check.gtk.shortcut_trigger.ShortcutTrigger getFirst() nothrowGets the first of the two alternative triggers that may trigger self.gtk.shortcut_trigger.ShortcutTrigger getSecond() nothrowGets the second of the two alternative triggers that may trigger self.Constructors
this(gtk.shortcut_trigger.ShortcutTrigger first, gtk.shortcut_trigger.ShortcutTrigger second)Creates a [gtk.shortcut_trigger.ShortcutTrigger] that will trigger whenever either of the two given triggers gets triggered.Fluent builder implementation template for gtk.alternative_trigger.AlternativeTrigger
Methods
T first(gtk.shortcut_trigger.ShortcutTrigger propval) nothrowSet `first` property. Params: propval = The first [gtk.shortcut_trigger.ShortcutTrigger] to check. Returns: Builder instance for fluent chainingT second(gtk.shortcut_trigger.ShortcutTrigger propval) nothrowSet `second` property. Params: propval = The second [gtk.shortcut_trigger.ShortcutTrigger] to check. Returns: Builder instance for fluent chainingFluent builder for gtk.alternative_trigger.AlternativeTrigger
Methods