Tuesday, 7 April 2009

Because I suck at glade

To port apps that don't use libglade to GtkBuilder, the easiest way is to start from scratch in a glade-3 window. But because I suck at glade, I posted a patch to gtk-parasite to dump a whole widget tree into a GtkBuilder UI file.

It works well enough for me to do half the work of porting the bluetooth-properties to GtkBuilder.

No excuses now.

6 comments:

Anonymous said...

http://blogs.gnome.org/johannes/2009/04/07/migrate-from-libglade-to-gtkbuilder-quickndirty/

Murray said...

Recent versions of glade worked wonderfully for me when converting some big awkward .glade files to GtkBuilder format. Earlier versions not so much.

hadess said...

Murray: that doesn't help when the app doesn't use glade in the first place...

Vadi said...

OH MY GOD THANK YOU!!!

I needed to port an app to use Glade. This will definitely help.

(also, this is the first time I've used all caps in an Internet message. This is wonderful!)

Anonymous said...

W00t! You rule! Come to DebConf if you want to get really drunk for free.

Tristan said...

Good Show ;-D