Alternative package:gi-gtk4

Combines two shortcut triggers. The GtkAlternativeTrigger triggers when either of the two trigger. This can be cascaded to combine more than two triggers.
Memory-managed wrapper type.
Gets the first of the two alternative triggers that may trigger self. alternativeTriggerGetSecond will return the other one.
Gets the second of the two alternative triggers that may trigger self. alternativeTriggerGetFirst will return the other one.
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.
Type class for types which can be safely cast to AlternativeTrigger, for instance with toAlternativeTrigger.
Construct a GValueConstruct with valid value for the “first” property. This is rarely needed directly, but it is used by new.
Construct a GValueConstruct with valid value for the “second” property. This is rarely needed directly, but it is used by new.
Get the value of the “first” property. When overloading is enabled, this is equivalent to
get alternativeTrigger #first
Get the value of the “second” property. When overloading is enabled, this is equivalent to
get alternativeTrigger #second
Cast to AlternativeTrigger, for types for which this is known to be safe. For general casts, use castTo.
Set the value of the “alternative-text” property to Nothing. When overloading is enabled, this is equivalent to
clear #alternativeText
Construct a GValueConstruct with valid value for the “alternative-text” property. This is rarely needed directly, but it is used by new.
Get the value of the “alternative-text” property. When overloading is enabled, this is equivalent to
get picture #alternativeText
Gets the alternative textual description of the picture. The returned string will be Nothing if the picture cannot be described textually.
Sets an alternative textual description for the picture contents. It is equivalent to the "alt" attribute for images on websites. This text will be made available to accessibility tools. If the picture cannot be described textually, set this property to Nothing.
Set the value of the “alternative-text” property. When overloading is enabled, this is equivalent to
set picture [ #alternativeText := value ]
Construct a GValueConstruct with valid value for the “gtk-alternative-button-order” property. This is rarely needed directly, but it is used by new.
Construct a GValueConstruct with valid value for the “gtk-alternative-sort-arrows” property. This is rarely needed directly, but it is used by new.
Get the value of the “gtk-alternative-button-order” property. When overloading is enabled, this is equivalent to
get settings #gtkAlternativeButtonOrder
Get the value of the “gtk-alternative-sort-arrows” property. When overloading is enabled, this is equivalent to
get settings #gtkAlternativeSortArrows
Set the value of the “gtk-alternative-button-order” property. When overloading is enabled, this is equivalent to
set settings [ #gtkAlternativeButtonOrder := value ]
Set the value of the “gtk-alternative-sort-arrows” property. When overloading is enabled, this is equivalent to
set settings [ #gtkAlternativeSortArrows := value ]