6.1 GtkAssistantPageFunc

Callback: GtkAssistantPageFunc

A procedure given for it is called as (procedure current-page) ⇒ %return.

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 Gtk.Assistant.set_forward_page_func.

current-page

Passed: a 32-bit integer.

The page number used to calculate the next page.

%return

Returned: a 32-bit integer.

The next page number

data

Not passed: it is the user data that guile-gi supplied.

user data.