Schnittstelle Assistant.OnAssistantPageFunc

Umschließende Klasse:
Assistant
Funktionsschnittstelle:
Dies ist eine funktionale Schnittstelle, die somit als Zuweisungsziel für einen Lambdaausdruck oder eine Methodenreferenz verwendet werden kann.

@FunctionalInterface public static interface Assistant.OnAssistantPageFunc
  • Methodenübersicht

    Modifizierer und Typ
    Methode
    Beschreibung
    int
    onAssistantPageFunc(CallbackHandler __self, int current_page, Pointer data)
    Type of callback used to calculate the next page in a `GtkAssistant`.
  • Methodendetails

    • 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].
      Parameter:
      current_page - The page number used to calculate the next page.
      data - user data.
      Gibt zurück:
      The next page number