OverlaySplitView.setSidebarWidthUnit

void setSidebarWidthUnit(adw.types.LengthUnit unit)

Sets the length unit for minimum and maximum sidebar widths.

See adw.overlay_split_view.OverlaySplitView.minSidebarWidth and adw.overlay_split_view.OverlaySplitView.maxSidebarWidth.

Parameters

unitthe length unit