NavigationView.popToTag

bool popToTag(string tag)

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.

Parameters

taga page tag

Returns

TRUE if any pages have been popped