enum
Gtk::ConstraintStrength
Overview
The strength of a constraint, expressed as a symbolic constant.
The strength of a #Constraint can be expressed with any positive
integer; the values of this enumeration can be used for readability.
Defined in:
lib/gi-crystal/src/auto/gtk-4.0/gtk.crEnum Members
-
Required =
1001001000_u32 -
The constraint is required towards solving the layout
-
Strong =
1000000000_u32 -
A strong constraint
-
Medium =
1000_u32 -
A medium constraint
-
Weak =
1_u32 -
A weak constraint
Class Method Summary
-
.g_type : UInt64
Returns the type id (GType) registered in GLib type system.
Instance Method Summary
-
#medium?
Returns
trueif this enum value equalsMedium -
#required?
Returns
trueif this enum value equalsRequired -
#strong?
Returns
trueif this enum value equalsStrong -
#weak?
Returns
trueif this enum value equalsWeak
Class methods inherited from struct Enum
g_type : UInt64
g_type
Class Method Detail
Returns the type id (GType) registered in GLib type system.