Gtk.Assistant.Set_Forward_Page_Func_User_Data

Entities

Generic formal parameters

Access Types

Subprograms

Description

Destroy

procedure Destroy (Data : in out User_Data_Type)
Parameters
Data

Gtk_Assistant_Page_Func

type Gtk_Assistant_Page_Func is access function
  (Current_Page : Glib.Gint;
   Data         : User_Data_Type) return Glib.Gint;

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

The page number used to calculate the next page.

Data

user data.

Return Value

The next page number.

Set_Forward_Page_Func

procedure Set_Forward_Page_Func
   (Assistant : not null access Gtk.Assistant.Gtk_Assistant_Record'Class;
    Page_Func : Gtk_Assistant_Page_Func;
    Data      : User_Data_Type)

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. Since: gtk+ 2.10

Parameters
Assistant
Page_Func

the Gtk_Assistant_Page_Func, or null to use the default one

Data

user data for Page_Func

User_Data_Type

type User_Data_Type (<>) is private;