GtkAssistantPageFunc ()

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.

current_page :

The page number used to calculate the next page.

data :

user data.

Returns :

The next page number.

gtk_assistant_set_forward_page_func ()

Sets the page forwarding function to be page_func, this function will
be used to determine what will be the next page when the user presses
the forward button. Setting page_func to NULL will make the assistant
to use the default forward function, which just goes to the next visible
page.

Signal Details

The "apply" signal

The ::apply signal is emitted when the apply button is clicked. The default
behavior of the GtkAssistant is to switch to the page after the current
page, unless the current page is the last one.

A handler for the ::apply signal should carry out the actions for which
the wizard has collected data. If the action takes a long time to complete,
you might consider to put a page of type GTK_ASSISTANT_PAGE_PROGRESS
after the confirmation page and handle this operation within the
"prepare" signal of the progress page.

The "prepare" signal

The ::prepare signal is emitted when a new page is set as the assistant's
current page, before making the new page visible. A handler for this signal
can do any preparation which are necessary before showing page.