Closing a window does just that, closing it, nothing else.

But instead of destroying and recreating you, I think you should recycle it 
instead.
Just replace the content, if needed. That will be a lot more efficient.

Fritz

On Thu, 7 Mar 2013, [email protected] wrote:

> Hello,
>
> i open some windows on a class like this
>
>
> qx.Class.define("myapp.modules.test.NewWindow", {
>         extend: qx.core.Object,
>         members : {
> .....
>
> getWindow : function(p,ID) {
>                 this.win = new qx.ui.window.Window(label,
> "makebiz/icon/16/actions/home.png");
>                 this.win.setModal(true);
> ....
>
> saveEnd : function() {
>     this.win.close();
>
>
>
> i think  often it will be going slower  , when i open often this class
> window. What can be the problem?
> How can i fix it? Is the obj not relly  trashed ? How can i fix this?
>
>
> ------------------------------------------------------------------------------
> Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
> Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
> endpoint security space. For insight on selecting the right partner to
> tackle endpoint security challenges, access the full report.
> http://p.sf.net/sfu/symantec-dev2dev
> _______________________________________________
> qooxdoo-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel
>
>

-- 
Oetiker+Partner AG              tel: +41 62 775 9903 (direct)
Fritz Zaucker                        +41 62 775 9900 (switch board)
Aarweg 15                            +41 79 675 0630 (mobile)
CH-4600 Olten                   fax: +41 62 775 9905
Schweiz                         web: www.oetiker.ch

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to