NavigationView.popToPage

Pops pages from the navigation stack until page is visible.

page must be in the navigation stack.

If adw.navigation_view.NavigationView.add hasn't been called for any of the popped pages, they are automatically removed.

signalNavigationView::popped will be be emitted for each of the popped pages.

See adw.navigation_view.NavigationView.pop and adw.navigation_view.NavigationView.popToTag.

class NavigationView
bool
popToPage

Parameters

page adw.navigation_page.NavigationPage

the page to pop to

Return Value

Type: bool

TRUE if any pages have been popped