NavigationSplitView.setSidebarWidthUnit

void setSidebarWidthUnit(adw.types.LengthUnit unit)

Sets the length unit for minimum and maximum sidebar widths.

See propertyNavigationSplitView:min-sidebar-width and propertyNavigationSplitView:max-sidebar-width.

Parameters

unitthe length unit