Package: gtk

Function gtk:constraint-new-constant

Lambda List

gtk:constraint-new-constant (target target-attribute relation constant strength)

Arguments

target -- a gtk:constraint-target object
target-attribute -- 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-attribute and source-attribute
constant -- a number coerced to a double float for a constant factor to be added to source-attribute
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 target and a constant value.
 

See also

2025-3-25