|
I think it should work, just need a small lua script to do the real "loadlib"Do you plan to implement ngui as "ordinary" lua module? ie. require "ngui"
g = ngui.LuaGlob()f=g:Form({title="hello",ok=1,cancel=1,margin=5,tab={"un","deux","trois"}})...
good idea, however, I suppose that most of the time, ngui will be loaded from a program that already has a message pump, but I may be wrong.g:run() --etc for message loop
Best regards -- Noël Frankinet Gistek Software SA http://www.gistek.net