Method

AdapNavigationViewpop_to_page

since: 1.4

Declaration [src]

gboolean
adap_navigation_view_pop_to_page (
  AdapNavigationView* self,
  AdapNavigationPage* page
)

Description [src]

Pops pages from the navigation stack until page is visible.

page must be in the navigation stack.

If adap_navigation_view_add() hasn’t been called for any of the popped pages, they are automatically removed.

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

See adap_navigation_view_pop() and adap_navigation_view_pop_to_tag().

Available since: 1.4

Parameters

page

Type: AdapNavigationPage

The page to pop to.

The data is owned by the caller of the method.

Return value

Type: gboolean

TRUE if any pages have been popped.