[gtkada] Creating "wizards"?

Preben Randhol randhol at pvv.org
Wed Jan 30 16:28:58 CET 2002


Jacob Sparre Andersen <sparre at nbi.dk> wrote on 30/01/2002 (16:19) :
> Is there an easy way to compose a "wizard" using GtkAda (and
> Glade)?
> 
> When I write "wizard" I mean a single window, where a part
> of it changes while another part stays (practially) the same
> with "navigation" buttons.

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.

-- 
Preben Randhol ------------------- http://www.pvv.org/~randhol/ --
                 «For me, Ada95 puts back the joy in programming.»




More information about the gtkada mailing list