Method

AdapLeafletget_adjacent_child

deprecated: 1.4 

Declaration [src]

GtkWidget*
adap_leaflet_get_adjacent_child (
  AdapLeaflet* self,
  AdapNavigationDirection direction
)

Description [src]

Finds the previous or next navigatable child.

This will be the same child adap_leaflet_navigate() or swipe gestures will navigate to.

If there’s no child to navigate to, NULL will be returned instead.

See AdapLeafletPage:navigatable.

Deprecated since: 1.4

See the migration guide

Parameters

direction

Type: AdapNavigationDirection

The direction.

Return value

Type: GtkWidget

The previous or next child.

The data is owned by the instance.
The return value can be NULL.