Method

Adw.Leaflet.navigate

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 AdwNavigationDirection
 

the direction

Return value

Returns: gboolean

whether the visible child was changed