This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Glade (Re: Emacs with Guile )
- To: guile at sourceware dot cygnus dot com
- Subject: Glade (Re: Emacs with Guile )
- From: Jon K Hellan <hellan at acm dot org>
- Date: Tue, 14 Mar 2000 13:35:08 +0100
Sascha Ziemann <szi@aibon.ping.de> writes:
> | It sounds great. So we can use Glade to design a GUI, and then
> | control it by writing scheme scripts?
>
> Glade is based on the idea, that your GUI is static and does not
> change. You specify a GUI with Glade, save it in an XML file and run
> at the beginning of your program a "build GUI from XML".
Not necessarily true. In Gnumeric, we build the dialogs from XML each
time they are displayed. We could cache them, of course, but just now
we don't.
It's possible to make the XML GUI description files programmatically,
although I don't know if anybody has done so.
I guess it would be easy to make an s-exp reader for libglade, in
addition to the XML reader. That would save lisps from the chore of
producing XML. Don't know if that's much of a problem in practice,
though.
Jon