get_adjacent_child


Description:

public unowned Widget? get_adjacent_child (NavigationDirection direction)

Finds the previous or next navigatable child.

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

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

See [property@AlbumPage:navigatable].

Parameters:

this

a album

direction

the direction

Returns:

the previous or next child