-
Cast constructor, converting any binary integer to a
StateType
.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryInteger
Parameters
raw
The raw integer value to initialise the enum from
-
State during normal operation.
Declaration
Swift
static let normal: GtkStateType
-
State of a currently active widget, such as a depressed button.
Declaration
Swift
static let active: GtkStateType
-
State indicating that the mouse pointer is over the widget and the widget will respond to mouse clicks.
Declaration
Swift
static let prelight: GtkStateType
-
State of a selected item, such the selected row in a list.
Declaration
Swift
static let selected: GtkStateType
-
State indicating that the widget is unresponsive to user actions.
Declaration
Swift
static let insensitive: GtkStateType
-
The widget is inconsistent, such as checkbuttons or radiobuttons that aren’t either set to
true
norfalse
, or buttons requiring the user attention.Declaration
Swift
static let inconsistent: GtkStateType
-
The widget has the keyboard focus.
Declaration
Swift
static let focused: GtkStateType