Function

GtkAssistantPageFunc

Declaration

gint
(* GtkAssistantPageFunc) (
  gint current_page,
  gpointer data
)

Description [src]

A function used by gtk_assistant_set_forward_page_func() 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.

Parameters

current_page

Type: gint

The page number used to calculate the next page.

data

Type: gpointer

User data.

The argument can be NULL.
The data is owned by the caller of the function.

Return value

Type: gint

The next page number.