Lua bindings to GObject-based libraries like GTK+, WebKitGtk, and GStreamer (and others like Cairo).
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_all.lua [DESTDIR [OPTIONS]]
$ ./build_all.lua /home/user/out AMD64
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.
lgob 11.10 and newer targets GTK+ 3 and friends. The last release that supported GTK+ 2 is lgob 11.04.
Some of the gobject-introspection files used to generate the bindings do not 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.