Re: [Java-gnome-developer] Glade file question
Brought to you by:
afcowie
From: basquale\.fersini\@libero\.it <bas...@li...> - 2005-12-20 10:26:48
|
Il giorno mar, 20/12/2005 alle 10.11 +1100, Andrew Cowie ha scritto: On Mon, 2005-19-12 at 22:33 +0100, bas...@li... wrote: > > how can I load a particular > > form, defined in my foo.glade, in which there are three forms (main, > > search, about)? > > > LibGlade glade =3D new LibGlade("foo.glade", this); > .. > Window mainForm =3D (Window) glade.getWidget("main"); > Window searchForm =3D (Window) glade.getWidget("search"); > Window aboutForm =3D (Window) glade.getWidget("about"); > > AfC > Sydney > Thanks Andrew, but I have another thing to understand. In particular, whe= n I load the glade file with LibGlade glade =3D new LibGlade("foo.glade", this); and launch the main, ALL forms are displayed! What about if I want to loa= d a single form when I pressed a button? Are forms managed in the same c= lass file? ThanXyou in advance, Pas. |