Index

Package: Generic_Assistant_Functions (generic)

Description

generic
   type Data_Type (<>) is private;
   package Generic_Assistant_Functions is

Types

Data_Type

type Data_Type (<>) is private;

Page_Func

type Page_Func is access function
        (Current_Page : Gint;
         User_Data    : Data_Type)
      return Gint;
Spec for page forwarding function.

Destroy_Notify

type Destroy_Notify is access procedure (User_Data : in out Data_Type);
Destroy_Notify is called just prior to the destruction of User_Data.

Subprograms & Entries

Set_Forward_Page_Func

procedure Set_Forward_Page_Func 
(Assistant: Gtk_Assistant;
Func: Page_Func;
User_Data: Data_Type;
Destroy: Destroy_Notify := null);
Sets the Assistant's page forwarding function to be Func. This function will be used to determine what will be the next page when the user presses the forward button. Setting Func to null will make the assistant use the default forward function, which just goes to the next visible page.