Leaflet.navigate

bool navigate(adw.types.NavigationDirection direction)

Navigates to the previous or next child.

The child must have the adw.leaflet_page.LeafletPage.navigatable property set to TRUE, otherwise it will be skipped.

This will be the same child as returned by adw.leaflet.Leaflet.getAdjacentChild or navigated to via swipe gestures.

Parameters

directionthe direction

Returns

whether the visible child was changed

Deprecated