Glade
More info
- Creator
- Damon Chaplin
- Released
- Type
- GUI builder
- License
- GPL-2.0
- Source
- gitlab.gnome.org/GNOME/glade
GTK's graphical interface builder from 1998, where you drag buttons and boxes into a window and get the description back as an XML file to load at run time.
Damon Chaplin wrote Glade the year after GTK broke away from GIMP, when the Motif world already had Builder Xcessory and TeleUSE and Linux had nothing at all. The first version did what its models did and generated C code, with optional output for C++, Ada, Perl and Python. Soon afterwards came libglade from James Henstridge, which read Glade's XML file directly at run time, and with that the point of generating code evaporated: the interface became data, the program fetched its widgets by name and hooked up signal handlers. GTK 2.12 absorbed the idea as GtkBuilder in 2007, with its own .ui format that Glade 3 writes.
Glade 3 was a 2006 rewrite by Tristan Van Berkom among others, with plugins for widget libraries and a saner property editor. GTK 4 was the end: Glade never followed, and development has stalled. Its successor Cambalache, by former maintainer Juan Pablo Ugarte, solves the same task for GTK 4 without sharing any code. GNOME's own line has long been to write the .ui files by hand, or to let the Blueprint language do it.