get_adjacent_child


Description:

public unowned Widget? get_adjacent_child (NavigationDirection direction)

Finds the previous or next navigatable child.

Note:

See [the migration guide](migrating-to-breakpoints.html#replace-adwleaflet)

This will be the same child [method@Leaflet.navigate] or swipe gestures will navigate to.

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

See [property@LeafletPage:navigatable].

Parameters:

this

a leaflet

direction

the direction

Returns:

the previous or next child