Method

AdwLeafletnavigate

since: 1.0

Declaration [src]

gboolean
adw_leaflet_navigate (
  AdwLeaflet* self,
  AdwNavigationDirection direction
)

Description [src]

Navigates to the previous or next child.

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

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

Available since: 1.0

Parameters

direction

Type: AdwNavigationDirection

The direction.

Return value

Type: gboolean

Whether the visible child was changed.