Constraint.newConstant
gtk.constraint.Constraint newConstant(gtk.constraint_target.ConstraintTarget target, gtk.types.ConstraintAttribute targetAttribute, gtk.types.ConstraintRelation relation, double constant, int strength)Creates a new constraint representing a relation between a layout attribute on a target and a constant value.
Parameters
target | a the target of the constraint |
targetAttribute | the attribute of target to be set |
relation | the relation equivalence between target_attribute and constant |
constant | a constant factor to be set on target_attribute |
strength | the strength of the constraint |
Returns
the newly created constraint