lua-users home
lua-l archive

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

> If the callback registration function doesn't take a data pointer, you
> have to store it in a global variable.

Or you can register a single C function as callback and then map widgets
to Lua handlers via a table in the registry for instance.