NavigationView.popToTag

Pops pages from the navigation stack until page with the tag tag is visible.

The 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 emitted for each of the popped pages.

See adw.navigation_view.NavigationView.popToPage and propertyNavigationPage:tag.

class NavigationView
bool
popToTag
(
string tag
)

Parameters

tag string

a page tag

Return Value

Type: bool

TRUE if any pages have been popped