Method

AdwLeafletset_homogeneous

Declaration [src]

void
adw_leaflet_set_homogeneous (
  AdwLeaflet* self,
  gboolean folded,
  GtkOrientation orientation,
  gboolean homogeneous
)

Description [src]

Sets self to be homogeneous or not for the given fold and orientation.

If it is homogeneous, self will request the same width or height for all its children depending on the orientation. If it isn’t and it is folded, the leaflet may change width or height when a different child becomes visible.

See AdwLeaflet:hhomogeneous-folded, AdwLeaflet:vhomogeneous-folded, AdwLeaflet:hhomogeneous-unfolded, AdwLeaflet:vhomogeneous-unfolded.

Available since:1.0

Parameters

folded gboolean
 

The fold.

orientation GtkOrientation
 

The orientation.

homogeneous gboolean
 

TRUE to make self homogeneous.