Constraint.this

Creates a new constraint representing a relation between a layout attribute on a source and a layout attribute on a target.

Parameters

target gtk.constraint_target.ConstraintTarget

the target of the constraint

targetAttribute gtk.types.ConstraintAttribute

the attribute of target to be set

relation gtk.types.ConstraintRelation

the relation equivalence between target_attribute and source_attribute

source gtk.constraint_target.ConstraintTarget

the source of the constraint

sourceAttribute gtk.types.ConstraintAttribute

the attribute of source to be read

multiplier double

a multiplication factor to be applied to source_attribute

constant double

a constant factor to be added to source_attribute

strength int

the strength of the constraint

Return Value

the newly created constraint