Oh, yes, it works :)
Thanks!

2011/9/19 Julien Danjou <[email protected]>:
> On Mon, Sep 19 2011, Zsolt Udvari wrote:
>
>> 2011/9/19 Julien Danjou <[email protected]>:
>>> I think it's because table.insert and wibox.widgets is totally
>>> incompatible, because table.insert does not honor metatables functions.
>>>
>>> IIRC, that's the problem and part of the Lua broken design. :|
>>
>> Hm. And how can I solve this? I'm not lua-expert...
>
> Use indexed access:
>  mywibox.widgets[mywibox.widgets.len() + 1] = mywdiget
>
> --
> Julien Danjou
>

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

Reply via email to