Method

AdapLeafletnavigate

deprecated: 1.4 

Declaration [src]

gboolean
adap_leaflet_navigate (
  AdapLeaflet* self,
  AdapNavigationDirection direction
)

Description [src]

Navigates to the previous or next child.

The child must have the AdapLeafletPage:navigatable property set to TRUE, otherwise it will be skipped.

This will be the same child as returned by adap_leaflet_get_adjacent_child() or navigated to via swipe gestures.

Deprecated since: 1.4

See the migration guide

Parameters

direction

Type: AdapNavigationDirection

The direction.

Return value

Type: gboolean

Whether the visible child was changed.