gtk.constraint.Constraint 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 gtk.constraint.Constraint is part of a system that will be solved by a gtk.constraint_layout.ConstraintLayout in order to allocate and position each child widget or guide.
The source and target, as well as their attributes, of a gtk.constraint.Constraint instance are immutable after creation.
gtk.constraint.Constraint describes a constraint between attributes of two widgets, expressed as a linear equation.
The typical equation for a constraint is:
Each gtk.constraint.Constraint is part of a system that will be solved by a gtk.constraint_layout.ConstraintLayout in order to allocate and position each child widget or guide.
The source and target, as well as their attributes, of a gtk.constraint.Constraint instance are immutable after creation.