Index

Package: Set_Forward_Page_Func_User_Data (generic)

Description

generic
      type User_Data_Type (<>) is private;
      with procedure Destroy (Data : in out User_Data_Type) is null;
   package Set_Forward_Page_Func_User_Data is

Types

User_Data_Type

type User_Data_Type (<>) is private;

Gtk_Assistant_Page_Func

type Gtk_Assistant_Page_Func is access function (Current_Page : Gint; Data : User_Data_Type) return 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. "current_page": The page number used to calculate the next page. "data": user data.

Subprograms & Entries

Destroy

procedure Destroy 
(Data: in out User_Data_Type) is null;

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 "page_func": the Gtk_Assistant_Page_Func, or null to use the default one "data": user data for Page_Func