Libglade is a small library that allows a program to load its user interface from an XML description at runtime. The XML file format is that of the user interface builder GLADE, so libglade acts as an alternative to GLADE's code generation approach. Libglade also provides a simple interface for connecting handlers to the various signals in the interface (on platforms where the gmodule library works correctly, it is possible to connect all the handlers with a single function call). Once the interface has been instantiated, libglade gives no overhead, so other than the initial interface loading time (which is short), there is no performance tradeoff.
| Tags | Desktop Environment GNOME |
|---|---|
| Licenses | LGPL |
| Implementation | C |
Recent releases


Release Notes: Major update.


No changes have been submitted for this release.


Release Notes: Minor documentation updates. This is the first stable release targeted at GTK 2.0.


Release Notes: Some reference count leaks were fixed. Build fixes were made for the framebuffer GTK target.


Release Notes: Some changes to make the C++ bindings' job easier, and better handling of some properties.
Recent comments
27 Feb 2002 21:38
Re: libglade with phpGTK on win32
> Hi folks,
> i'm new on this, but please try to
> drop a hint. I'm about to run a
> phpGTK-Script inkluding a *.glade-file,
> which I need to parse via XML. Well, the
> code to do so looks like:
The error messages you gave look specific to the php bindings for libglade. You would have much better luck asking about this on a php/gtk list or something. Go to gtk.php.net/ (gtk.php.net/) for details. (it is just chance that I noticed your message here).
20 Feb 2002 05:35
libglade with phpGTK on win32
Hi folks,
i'm new on this, but please try to drop a hint. I'm about to run a phpGTK-Script inkluding a *.glade-file, which I need to parse via XML. Well, the code to do so looks like:
$gx = &new GladeXML('scan_client.glade');
$gx->signal_autoconnect();
, where "scan_client.glade" is the glade-output-file. But running this ends in an errormessage:
Warning: gladexml(): could not create
\scan_client.php on line 15
Fatal error: Call to a member functio
t\scan_client.php on line 16
Though I guessed that I've not been configuring phpGTK for the use with XML. So now my question is: What do I need to install and configure for having my scripts running with included *.glade-files?
If I've been posting this at the wrong place, please don't bother to give me the url of the proper thread. Thanks.