set_collapsed


Description:

public void set_collapsed (bool collapsed)

Sets whether this is collapsed.

When collapsed, the children are put inside an [class@NavigationView], otherwise they are displayed side by side.

The [property@NavigationSplitView:show-content] controls which child is visible while collapsed.

Parameters:

this

a navigation split view

collapsed

whether this is collapsed