ConstraintLayout.addConstraint

Adds a constraint to the layout manager.

The gtk.constraint.Constraint.ConstraintTarget and gtk.constraint.Constraint.ConstraintTarget properties of constraint can be:

The layout acquires the ownership of constraint after calling this function.

class ConstraintLayout
void
addConstraint

Parameters

constraint gtk.constraint.Constraint