Constraint.this

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

Parameters

target ConstraintTargetIF

a the target of the constraint

targetAttribute GtkConstraintAttribute

the attribute of target to be set

relation GtkConstraintRelation

the relation equivalence between target_attribute and constant

constant double

a constant factor to be set on target_attribute

strength int

the strength of the constraint

Return Value

the newly created constraint

Throws

ConstructionException GTK+ fails to create the object.

Meta