lua-users home
lua-l archive

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


On 4/6/2012 3:15 AM, Miles Bader wrote:
Also, when playing around with lua-gtk, which largely just replicates
the C interface (modulo automatic GC etc), it was pretty clear how easy
it would be to write a higher-level wrapper layer for Lua .... that
basically resembles what iup or luamotif does.

You can try lgi, which already has a few simple Gtk overrides achieving this kind of declarative UI description. Ported gtk-demo application[1] has many examples of its usage, the simple one is e.g. in [2]

[1] https://github.com/pavouk/lgi/blob/master/samples/gtk-demo/
[2] https://github.com/pavouk/lgi/blob/master/samples/gtk-demo/demo-pickers.lua

Pavel