[gtkada] Creating "wizards"?

Emmanuel Briot briot at ACT-Europe.FR
Wed Jan 30 16:34:38 CET 2002


Preben Randhol <randhol at pvv.org> writes:

> By making the other parts widgets. Like: 
> 
>    type First_Wizard_Page is new Gtk_Box_Record with 
>       record
>          ...
>       end record;
> 
> The add the first and then use the remove command to remove a widget and
> add to add the new.


This is a little tricky, sine you also need to Ref and Unref the widgets, to
make sure they are not destroyed automatically and you can display them again
if the user wants to go back to the previous page.

Emmanuel




More information about the gtkada mailing list