get_adjacent_child


Description:

public unowned Widget? get_adjacent_child (NavigationDirection direction)

Finds the previous or next navigatable child.

This will be the same widget [method@Leaflet.navigate] will navigate to.

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

Parameters:

this

a leaflet

direction

the direction

Returns:

the previous or next child