NavigationSplitView.setCollapsed

void setCollapsed(bool collapsed)

Sets whether self is collapsed.

When collapsed, the children are put inside an adw.navigation_view.NavigationView, otherwise they are displayed side by side.

The adw.navigation_split_view.NavigationSplitView.showContent controls which child is visible while collapsed.

Parameters

collapsedwhether self is collapsed