get_next_page


Description:

public signal NavigationPage? get_next_page ()

Emitted when a push shortcut or a gesture is triggered.

To support the push shortcuts and gestures, the application is expected to return the page to push in the handler.

This signal can be emitted multiple times for the gestures, for example when the gesture is cancelled by the user. As such, the application must not make any irreversible changes in the handler, such as removing the page from a forward stack.

Instead, it should be done in the [signal@NavigationView:AdwNavigationView:pushed] handler.

Returns:

the page to push