At 1235118145 time_t, Alex Reznichenko wrote: > I am working on a dynamic menu (as pipemenu in openbox) but has not > found a way to remove wibox, only to hide it by assigning nil to > wibox.screen (as in invaders.lua) ... Is there a correct way to > desctruct wibox object or assigning nil is enough?
You need to assign it nil to screen, and to not hold any reference to it anymore. a = wibox() a = nil Will delete the wibox, whereas: a = wibox() b = a a = nil will not. -- Julien Danjou // ᐰ <[email protected]> http://julien.danjou.info // 9A0D 5FD9 EB42 22F6 8974 C95C A462 B51E C2FE E5CD // Anna Molly! Anna Molly! Anna Molly!
signature.asc
Description: Digital signature
