set_homogeneous


Description:

public void set_homogeneous (Fold fold, Orientation orientation, bool homogeneous)

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

If it is homogeneous, the Leaflet 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.

Parameters:

this

a Leaflet

fold

the fold

orientation

the orientation

homogeneous

true to make this homogeneous




2022 vala-language.org