-
Cast constructor, converting any binary integer to a
SpinButtonUpdatePolicy
.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryInteger
Parameters
raw
The raw integer value to initialise the enum from
-
When refreshing your
GtkSpinButton
, the value is always displayedDeclaration
Swift
static let always: GtkSpinButtonUpdatePolicy
-
When refreshing your
GtkSpinButton
, the value is only displayed if it is valid within the bounds of the spin button’s adjustmentDeclaration
Swift
static let ifValid: GtkSpinButtonUpdatePolicy