OverlaySplitView.sidebarWidthFraction

double sidebarWidthFraction() @property

Get sidebarWidthFraction property.

Returns

The preferred sidebar width as a fraction of the total width.

The preferred width is additionally limited by adw.overlay_split_view.OverlaySplitView.minSidebarWidth and adw.overlay_split_view.OverlaySplitView.maxSidebarWidth.

The sidebar widget can be allocated with larger width if its own minimum width exceeds the preferred width.

void sidebarWidthFraction(double propval) @property

Set sidebarWidthFraction property.

Parameters

propvalThe preferred sidebar width as a fraction of the total width. The preferred width is additionally limited by adw.overlay_split_view.OverlaySplitView.minSidebarWidth and adw.overlay_split_view.OverlaySplitView.maxSidebarWidth. The sidebar widget can be allocated with larger width if its own minimum width exceeds the preferred width.