Type of callback used to calculate the next page in a
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.
The page number used to calculate the next page.
The argument can be
The data is owned by the caller of the function.