Method
GtkConstraintLayoutadd_constraint
Declaration [src]
void
gtk_constraint_layout_add_constraint (
  GtkConstraintLayout* layout,
  GtkConstraint* constraint
)
Description [src]
Adds a constraint to the layout manager.
The GtkConstraint:source and GtkConstraint:target
properties of constraint can be:
- set to NULLto indicate that the constraint refers to the widget usinglayout
- set to the GtkWidgetusinglayout
- set to a child of the GtkWidgetusinglayout
- set to a GtkConstraintGuidethat is part oflayout
The layout acquires the ownership of constraint after calling
this function.
Parameters
- constraint
- 
            Type: GtkConstraintThe instance takes ownership of the data, and is responsible for freeing it.