lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Don't know if GTK+ counts as "lightweight" (other respondents imply that it does), but if so check out lgob:

http://oproj.tuxfamily.org/wiki/doku.php?id=lgob

Includes bindings for GTK+ and more (e.g. WebKiyGtk, Cairo, Pango). Build as much or as little of the Lua-to-GObject-based binding as you need.

You may need to hack the makefiles a bit -- for example, the project assumes you have a pkg-config file for your Lua build, but uses a couple of hardwired paths for other things. And be sure to tell the build via the AMD64 flag if you are on 64-bit.

I really like it. Documentation is a bit thin, but there's plenty of demo code examples.