The Citrine Citadel

GObject Builder

GObject Builder (gob-dx) is a preprocessor that generates much of the boilerplate associated with implementing GObjects in C.

As the original version written by George Lebl has not seen any updates since 2013, gob-dx is a straight-up fork with minor enhancements. Compatibility is a goal, if your code works with the original gob it should work with gob-dx as well.

Enhancements in gob-dx compared to the original

Obtaining gob-dx

There are presently no released versions of gob-dx. The development sources may be browsed online or cloned directly using git, e.g.,

git clone


Gob-dx is written in C, so a working C compiler is required. Moreover, the GLib library (version 2 or later) is required both for gob-dx itself and also libgobject (included with GLib) is needed to make use of any generated code.

Building from the development sources may require additional build tools.


Gob-dx is free software, you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 2 of the License or (at your option) any later version.