lua-users home
lua-l archive

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


Hi,

I read "binding to Gtk's GObject" and thought, I've done that
before.  You might want to look at the lua-gtk2 library which
is available on luaforge.net.

It uses automatically generated information about function
parameters; the whole library is about 130k for access to about
4600 functions, 400 structures and 1400 enums.  This is in
contrast to the usual bindings where one stub function is created
per library function leading to several MB of code.

Multiple inheritance (or "interfaces") are supported, too.

Unfortunately this does not make Gtk-2 smaller than it is, so the
net result is still a somewhat large memory footprint.

Cheers,
Wolfgang Oertl