GtkBuilder has landed!
June 15, 2007 8:54 pm Blogroll, GNOME, General, olpcToday, after more than 2 years and 120 comments I could finally close #172535, adding support for loading interfaces created by UI designers in Gtk+.
GtkBuilder replaces libglade, it uses a similar XML format but also supports the following:
- GtkTreeViews including columns and cell renderers
- Menus and toolbars created using GtkUIManager, including actions & actiongroups.
- TreeModels, it’s possible to define the data used by treemodels. It’s used by treeviews, iconviews, comboboxes, and entries.
- SizeGroups, align all these widgets without using tables!
I’d like to especially thank Matthias Clasen for reviewing the beast, it was over 6500 lines in the end! Henrique Romano helped me to implement parts of it and Tristan Van Berkom, Tim Janik, Kalle Vahlman, Christian Perch, Dan Winship, Owen Taylor, Behdad Esfahbod and Havoc Pennington also helped out with suggestions and improvements to the patch.There are a couple of things that needs to be done to simplify the transition from libglade to gtkbuilder though:
- Add support in UI designers. Gazpacho mostly supports it already, it’ll be easy to fix. glade-2 is out of the question and I expect glade-3 to at least partially support GtkBuilder before GNOME 2.20 is released
- Improve migration from libglade files. There’s a script in bugzilla which converts old libglade files to files which gtkbuilder can load. It needs to be improved and tested, especially menus and toolbars
- Some libglade features are not supported yet, such as loading only a part of a glade file and pixbuf properties. These will be fixed before the final Gtk+ 2.12 release
Now, time to party!
June 15th, 2007 at 21:25
This really sound great!
> I expect glade-3 to at least partially support GtkBuilder before GNOME 2.18 is released
you mean 2.20, don’t you?
June 15th, 2007 at 21:34
mike: yeah, my mistake, updated to 2.20, thanks!
June 15th, 2007 at 22:18
[...] Visit Source [...]
June 15th, 2007 at 23:32
Finally. Congratulations! I’m now waiting for gtkbuilder support from glade-3.
June 16th, 2007 at 01:25
This is awesome news Johan! congratulations and thanks for the good work!
June 16th, 2007 at 02:52
Congratulations, Johan. Thanks for the hard work.
June 16th, 2007 at 05:08
Congratulations! Woohoo!
June 16th, 2007 at 11:44
Congratulations, and good work!
June 16th, 2007 at 13:08
You rock so much ! Thank you !
June 16th, 2007 at 14:51
Congratulations, dude! You rock! You deserve all the accolades you can get
sri
June 17th, 2007 at 10:36
Finally! Good job Johan. I’ve been waiting for this for a looooong time
June 17th, 2007 at 10:59
Why does GtkBuilder exist? What exactly is wrong with libglade?
June 24th, 2007 at 10:03
Where is this glade->gtkbuilder conversion script?
June 24th, 2007 at 12:46
Murray: http://bugzilla.gnome.org/show_bug.cgi?id=447995
July 4th, 2007 at 11:56
[...] you all know from Johan’s recent post the infamous builder is on the rise, this means people will be desiring UI designers to produce UI [...]