A function used by Assistant.setForwardPageFunc to know which is the next page given a current one. It’s called both for computing the next page when the user presses the “forward” button and for handling the behavior of the “last” button.

alias GtkAssistantPageFunc = int function(int currentPage, void* data)

Return Value

The next page number.