Interface Assistant.OnAssistantPageFunc

Enclosing class:
Assistant
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface Assistant.OnAssistantPageFunc
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    onAssistantPageFunc(CallbackHandler __self, int current_page, Pointer data)
    Type of callback used to calculate the next page in a `GtkAssistant`.
  • Method Details

    • onAssistantPageFunc

      int onAssistantPageFunc(CallbackHandler __self, int current_page, @Nullable Pointer data)
      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].
      Parameters:
      current_page - The page number used to calculate the next page.
      data - user data.
      Returns:
      The next page number