[ CCode ( cname = "gtk_constraint_new_constant" , has_construct_function = false ) ]
public Constraint.const (ConstraintTarget? target, ConstraintAttribute target_attribute, ConstraintRelation relation, double constant, int strength)
Creates a new constraint representing a relation between a layout attribute on a target and a constant value.
target |
a the target of the constraint |
target_attribute |
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 |
the newly created constraint |