At 27.11.2009 14:34:29 Uli Schlachter <[email protected]> wrote:
> I think it would be best to keep the "awesome core" objects as userdata the 
> way
> they are. You can just write your own class inheritance model in lua and use
> your own tables for most of the stuff, can't you?

Yes, what I meant is that the core would use userdata, which would be accessible
from Lua, and the Lua classes would be tables that would inherit from those.

> AFAIK the only problem with metatables were that a wibox' .widgets table lost
> the metatables of its members. Since there won't be anything like this in
> awesome 4, I think metatables should work as expected.

Yeah... just that with userdata, you can't modify the metatable from Lua (maybe
methods can be written for that?).

lukash

-- 
To unsubscribe, send mail to [email protected].

Reply via email to