Package: gtk

Function gtk:constraint-layout-add-constraint

Lambda List

gtk:constraint-layout-add-constraint (layout constraint)

Arguments

layout -- a gtk:constraint-layout object
constraint -- a gtk:constraint object

Details

Adds a gtk:constraint object to the layout manager. The source and target properties of constraint can be:
  • set to nil to indicate that the constraint refers to the widget using layout
  • set to the gtk:widget object using layout
  • set to a child of the gtk:widget object using layout
  • set to a gtk:constraint-guide object that is part of layout
The layout acquires the ownership of constraint after calling this function.
 

See also

2024-4-29