-
Cast constructor, converting any binary integer to a
ConstraintAttribute.Declaration
Swift
@inlinable init!<I>(_ raw: I) where I : BinaryIntegerParameters
rawThe raw integer value to initialise the enum from
-
No attribute, used for constant relations
Declaration
Swift
static let none: GtkConstraintAttribute -
The left edge of a widget, regardless of text direction
Declaration
Swift
static let left: GtkConstraintAttribute -
The right edge of a widget, regardless of text direction
Declaration
Swift
static let right: GtkConstraintAttribute -
The top edge of a widget
Declaration
Swift
static let top: GtkConstraintAttribute -
The bottom edge of a widget
Declaration
Swift
static let bottom: GtkConstraintAttribute -
The leading edge of a widget, depending on text direction; equivalent to
GTK_CONSTRAINT_ATTRIBUTE_LEFTfor LTR languages, andGTK_CONSTRAINT_ATTRIBUTE_RIGHTfor RTL onesDeclaration
Swift
static let start: GtkConstraintAttribute -
The trailing edge of a widget, depending on text direction; equivalent to
GTK_CONSTRAINT_ATTRIBUTE_RIGHTfor LTR languages, andGTK_CONSTRAINT_ATTRIBUTE_LEFTfor RTL onesDeclaration
Swift
static let end: GtkConstraintAttribute -
The width of a widget
Declaration
Swift
static let width: GtkConstraintAttribute -
The height of a widget
Declaration
Swift
static let height: GtkConstraintAttribute -
The center of a widget, on the horizontal axis
Declaration
Swift
static let centerX: GtkConstraintAttribute -
The center of a widget, on the vertical axis
Declaration
Swift
static let centerY: GtkConstraintAttribute -
The baseline of a widget
Declaration
Swift
static let baseline: GtkConstraintAttribute
View on GitHub
Install in Dash
ConstraintAttribute Extension Reference