Package: gtk

Function gtk:constraint-new

Lambda List

gtk:constraint-new (target target-attr relation source source-attr multiplier constant strength)

Arguments

target -- a gtk:constraint-target object
target-attr -- a gtk:constraint-attribute value for the attribute of target to be set
relation -- a gtk:constraint-relation value for the relation equivalence between target-attr and source-attr
source -- a gtk:constraint-target object
source-attr -- a gtk:constraint-attribute value for the attribute of source to be set
multiplier -- a number coerced to a double float for a multiplication factor to be applied to source-attr
constant -- a number coerced to a double float for a constant factor to be added to source-attr
strength -- a gtk:constraint-strength value for the strength of the constraint

Return Value

The newly created gtk:constraint object.

Details

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

See also

2026-09-02