Method

Gtk.ConstraintGuide.set_nat_size

Declaration [src]

void
gtk_constraint_guide_set_nat_size (
  GtkConstraintGuide* guide,
  int width,
  int height
)

Description [src]

Sets the natural size of guide.

If guide is attached to a GtkConstraintLayout, the constraints will be updated to reflect the new size.

Parameters

width int
 

the new natural width, or -1 to not change it

height int
 

the new natural height, or -1 to not change it