Hi,

Using Demo Browser terminology for simplicity.

If I have something like
var window = new qx.ui.window.Window();
var group = new qx.ui.groupbox.GroupBox();
var label = new qx.ui.basic.Label();
group.add(label);
window.add(group);

this.window=window;
this.group=group;
this.label=label;

1) Is it enough to just destruct "window" object only, instead of all the
underlying so many tiny objects like group, label,e.t.c.
destruct : function()
{
   this._disposeObjects("window");
}

2) Wouldn't it be nice to have the above functionality in
disposeObjectDeep("window", 1) where the object will recursively look for
its elements, not only for Maps and Arrays as per the framework code.

3) Sometimes I have seen a long running dispose() in Demo Browser when you
jump from one page to another under examples. I believe it could be because
of the time taken for destruct() to complete
on last page. A dumb question. Can I put dispose() asynchronously without
the risk of same object collision?

Thanks.
Kanugula.

-- 
View this message in context: 
http://www.nabble.com/destruct%28%29-question-tp17605645p17605645.html
Sent from the qooxdoo-devel mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to