-
Cast constructor, converting any binary integer to a
AccessibleState
.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryInteger
Parameters
raw
The raw integer value to initialise the enum from
-
A “busy” state. This state has boolean values
Declaration
Swift
static let busy: GtkAccessibleState
-
A “checked” state; indicates the current state of a
GtkCheckButton
. Value type:GtkAccessibleTristate
Declaration
Swift
static let checked: GtkAccessibleState
-
A “disabled” state; corresponds to the
GtkWidget:sensitive
property onGtkWidget
. It indicates a UI element that is perceivable, but not editable or operable. Value type: booleanDeclaration
Swift
static let disabled: GtkAccessibleState
-
An “expanded” state; corresponds to the
GtkExpander:expanded
property onGtkExpander
. Value type: boolean or undefinedDeclaration
Swift
static let expanded: GtkAccessibleState
-
A “hidden” state; corresponds to the
GtkWidget:visible
property onGtkWidget
. 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
Declaration
Swift
static let hidden: GtkAccessibleState
-
An “invalid” state; set when a widget is showing an error. Value type:
GtkAccessibleInvalidState
Declaration
Swift
static let invalid: GtkAccessibleState
-
A “pressed” state; indicates the current state of a
GtkToggleButton
. Value type:GtkAccessibleTristate
enumerationDeclaration
Swift
static let pressed: GtkAccessibleState
-
A “selected” state; set when a widget is selected. Value type: boolean or undefined
Declaration
Swift
static let selected: GtkAccessibleState