You better off hiding them rather than clearing them from memory. What if you want to open and close the same window several times? You'll have to redefine your gadgets every time if you clear them from memory.
TIP: Use a panel as a grouping gadget for your gadgets on a window. That way all you have to do is hide the panel rather then hide each gadget.
It works for me :)
TIP: Use a panel as a grouping gadget for your gadgets on a window. That way all you have to do is hide the panel rather then hide each gadget.
It works for me :)