AssistantPageFunc

typealias AssistantPageFunc = (<Error class: unknown class>) -> <Error class: unknown class>

Type of callback used to calculate the next page in a GtkAssistant.

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.

See method@Gtk.Assistant.set_forward_page_func.

  • param currentPage The page number used to calculate the next page.

  • return The next page number