void adw_navigation_view_replace ( AdwNavigationView* self, AdwNavigationPage** pages, int n_pages )
Replaces the current navigation stack with
The last page becomes the visible page.
Replacing the navigation stack has no animation.
adw_navigation_view_add() hasn’t been called for any pages that are no
longer in the navigation stack, they are automatically removed.
n_pages can be 0, in that case no page will be visible after calling this
method. This can be useful for removing all pages from
AdwNavigationView::replaced signal will be emitted.
Available since: 1.4