This week I started exploring the wild world of GLADE!! After losing a day to the fact that I hadn’t done a ‘make install’ after changing the API in some way (the plugins were still being loaded from PREFIX/lib/glade3, so all hell was subtly breaking loose), I managed to implement the following provisional UI for binding settings to properties:

GLADE with GSettings integration #1

Most properties can be bound, including many that you would never want to – but the ‘Bind to’ widget is normally hidden for these. It defaults to shown on the ‘data’ properties you’d normally bind to, such as GtkEntry.text and

A bonus of this is you get ‘guards’ (where one toggle affects the sensitivity of an area of the dialog) basically for free. Just bind the ‘sensitive’ property of the container widget to the same key as the toggle, and all of its children will be disabled/enabled appropriately.

Last week I stayed a few days with my parents in Wales. Generously the sun came out and I got out a bit.

Aqueduct 3

This week I am headed to Glastonbury! I like to get to lots of festivals every year and Glastonbury is far and away the best in the country. I often work at them but I’d hate to do that at Glastonbury, there’s already not nearly enough time to see the whole of the festival. It just so happens there are several recently reformed big-name bands playing this summer, I think it is going to be one to remember!

3 thoughts on “GLADEs

  1. glade
    You should probably consider using GtkBuilder rather than glade considering that glade has now been announced as deprecated. I believe there is a script/app to convert them over though

  2. Stuff that Steve Jobs demonstrated in Next Step videos in 1991, only he had real drag and drop connections…?

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.