enum
Gtk::AccessibleState
Overview
The possible accessible states of a #Accessible.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/gtk.crEnum Members
-
Busy =
0_u32 -
A “busy” state. This state has boolean values
-
Checked =
1_u32 -
A “checked” state; indicates the current state of a
#CheckButton. Value type:#AccessibleTristate -
Disabled =
2_u32 -
A “disabled” state; corresponds to the
Widget::sensitiveproperty. It indicates a UI element that is perceivable, but not editable or operable. Value type: boolean -
Expanded =
3_u32 -
An “expanded” state; corresponds to the
Expander::expandedproperty. Value type: boolean or undefined -
Hidden =
4_u32 -
A “hidden” state; corresponds to the
Widget::visibleproperty. You can use this state explicitly on UI elements that should not be exposed to an assistive technology. Value type: boolean See also: %GTK_ACCESSIBLE_STATE_DISABLED -
Invalid =
5_u32 -
An “invalid” state; set when a widget is showing an error. Value type:
#AccessibleInvalidState -
Pressed =
6_u32 -
A “pressed” state; indicates the current state of a
#ToggleButton. Value type:#AccessibleTristateenumeration -
Selected =
7_u32 -
A “selected” state; set when a widget is selected. Value type: boolean or undefined
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#busy?
Returns
trueif this enum value equalsBusy -
#checked?
Returns
trueif this enum value equalsChecked -
#disabled?
Returns
trueif this enum value equalsDisabled -
#expanded?
Returns
trueif this enum value equalsExpanded -
#hidden?
Returns
trueif this enum value equalsHidden -
#invalid?
Returns
trueif this enum value equalsInvalid -
#pressed?
Returns
trueif this enum value equalsPressed -
#selected?
Returns
trueif this enum value equalsSelected
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.