Hello everyone! in the past few weeks I been working on a survey for Glade. The idea is that it will help us to better know our user base and thus allow us to take inform decisions to improve Glade users experience. So please take a few minutes to complete it! thanks Juan Pablo
Category Archives: Programming
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!”
Glade Drag & Drop support
New Drag & Drop support in 3.15 development series: First of all I would like to thanks once again to the foundation for sponsoring my trip to Brussels to attend the Developer Experience Hackhest and Alberto for inviting me in the first place! After the hackfest we all agreed that Glade needs some love to …
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!”
Cross compiling Glade for win32
It was a long time since I did not give cross compiling a try and it turns out to be easier than expected if you use precompiled binaries from windows:mingw[1] project on the OpenSUSE Build Service. (OBS) First of all we need to install the cross compiler, in Debian and Debian based distros do $ …
SVG && cairo_path_t fun!
For all of those of you who usually program with cairo: How do you include a somewhat complex path in your code? Let’s take GIMP as an example… Wilber figure shows ups in a few places and the cairo code to draw it is in one place http://git.gnome.org/browse/gimp/tree/app/widgets/gimpcairo-wilber.c The important function here is gimp_cairo_wilber() which …
Hacking Glade in Glade: A recursion exercise
Last week, inspired by Tristan’s GtkComposite branch idea of embedding builder xml into widget classes together with the old eagernessĀ of implementing Glade UI with Glade itself I started hacking Glade in glade! The first step was to recreate GladeWindow widget hierarchy in Glade, that was quick and easy. Then I started replacing the hard …
Continue reading “Hacking Glade in Glade: A recursion exercise”
New Glade edit modes!
I am happy to announce two new Glade features that should make UI designers life a little bit easier. As you probably know Gtk+ 3 introduced new widget properties to control margins and its alignments which where only accessible in GladeĀ through the common tab in the property editor… until now!. Margins and Alignment edit …