Constraint package:gi-gtk

GtkConstraint describes a constraint between attributes of two widgets, expressed as a linear equation. The typical equation for a constraint is:
target.target_attr = source.source_attr × multiplier + constant
Each GtkConstraint is part of a system that will be solved by a ConstraintLayout in order to allocate and position each child widget or guide. The source and target, as well as their attributes, of a GtkConstraint instance are immutable after creation.
Memory-managed wrapper type.
The widget attributes that can be used when creating a [classconstraint].
The baseline of a widget
The bottom edge of a widget
The center of a widget, on the horizontal axis
The center of a widget, on the vertical axis
The trailing edge of a widget, depending on text direction; equivalent to ConstraintAttributeRight for LTR languages, and ConstraintAttributeLeft for RTL ones
The height of a widget
The left edge of a widget, regardless of text direction
No attribute, used for constant relations
The right edge of a widget, regardless of text direction
The leading edge of a widget, depending on text direction; equivalent to ConstraintAttributeLeft for LTR languages, and ConstraintAttributeRight for RTL ones
The top edge of a widget
The width of a widget
The relation between two terms of a constraint.
Equal
Greater than, or equal
Less than, or equal
The strength of a constraint, expressed as a symbolic constant. The strength of a [classconstraint] can be expressed with any positive integer; the values of this enumeration can be used for readability.
A medium constraint
The constraint is required towards solving the layout
A strong constraint
A weak constraint