lgob is a set of bindings of GObject-based libraries, like GTK+ and WebKitGtk, and some others like Cairo, for Lua.
lgob is portable, have a small overhead, works with different versions of libraries and features a code generator that can be used in other projects / bindings.
The following images are screen shots of sample applications included in the lgob distribution. Click to view the larger images and corresponding Lua code…
This software is licensed under the GNU Lesser General Public License.
Lua 5.1, plus the libraries needed by the wanted modules.
git clone git://gitorious.org/lgob/mainline.git
$ ./build.lua [DESTDIR [OPTIONS]]
Example:
$ ./build.lua /home/user/out “AMD64=1 DEBUG=1”
Most of the functions are similar to the original C API, thus the GNOME API References, like the GTK+ Reference Manual, can be used. Some functions have been changed to better fit with the Lua environment, and hopefully they will be mentioned in the manual.
Work-in-progress manual.
Some of the gobject-introspection files used to generate the bindings don't carry version / deprecation information, resulting in code that doesn't work with old library versions. Currently, this is fixed by reading versions from Devhelp documentation files and by using override files.