lua-users home
lua-l archive

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





Do you plan to implement ngui as "ordinary" lua module?

ie.

require "ngui"
I think it should work, just need a small lua script to do the real "loadlib"
g = ngui.LuaGlob()
f=g:Form({title="hello",ok=1,cancel=1,margin=5,tab={"un","deux","trois"}})
...

g:run() --etc for message loop

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.

Best regards

--
Noël Frankinet
Gistek Software SA
http://www.gistek.net