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 with the attribute of target to be set
relation -- a gtk:constraint-relation value the relation equivalence between target-attribute and source-attribute
constant -- a number coerced to a double float with a constant factor to be added to source-attribute
strength -- a gtk:constraint-strength value with 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

2024-4-29