First of all I would like to thanks the GNOME Foundation for sponsoring once again my trip to Brussels for the GNOME Developer Experience Hackfest. Besides hacking on Glade and attending FOSDEM I had a great time meeting with old friends and making new ones, not to mention the amount and variety of beers consumed! …
Category Archives: GTK+
Porting widgets to the new template API… the LAZY way!
First of all I want to thanks everyone involved in GUADEC organization specially to the GNOME foundation for sponsoring me once again. It is been great meeting with old friends and making new ones! So after Tristan’s talk UI developer experience with Glade/GtkBuilder where he talked about the new template API some good friend of …
Continue reading “Porting widgets to the new template API… the LAZY way!”
GtkBuilder and external objects
What if you want to reference an object you created from a GtkBuilder script? or even more add children to a container created outside the scope of GtkBuilder? You can not! But do not worry, a simple API like the following will allow us to reference any external object from builder. void gtk_builder_expose_object (GtkBuilder *builder, …
Embeding GtkBuilder UI definitions into GObject classes!
Wait, what? Back in the day Glade used to generate code which was messy if was not handled properly, eventually everyone agreed it was better to use libglade instead and load the UI interface from a xml file, something that got consolidated with the advent of GtkBuilder in GTK+ So if it’s better for applications, …
Continue reading “Embeding GtkBuilder UI definitions into GObject classes!”