Hi,

oh you mean closing a qx.ui.window.Window. I can think of two possibilities:

1. Directly attach another eventhandler to the close-button:

yourWindow._closeButton.addEventListener("execute", function(e){
        this.info("Who wants to live forever?");
}, this);

2. You could subclass Window and overwrite the _onclosebuttonclick- method, but make sure you call the superclass' implementation from within your own implementation.

I'm pretty sure there are even more ways to do it..

cheers,
Lothar


Am 18.01.2008 um 04:32 schrieb jhonny thio:

Hi Lothar,
i dont need the command for close window, but i just want to know, what EVENT that called when we push the icon at right top of the window component :
1. Minimize
2. Maximize
3. Close ( X )

i have tried for close icon. If we use event "onclose", this event is called when the window is minimized too.
"disappear" event has same effect with "onclose" too. Can you help me?

Thanks,

Jhonny


----- Original Message ----
From: Lothar Kaiser <[EMAIL PROTECTED]>
To: qooxdoo Development <[email protected]>
Sent: Friday, January 18, 2008 1:26:58 AM
Subject: Re: [qooxdoo-devel] Qooxdoo, Please help me

Hi Jhonny,

have a look at the API at:

http://demo.qooxdoo.org/current/apiviewer/#qx.application.Gui

Method close() is what you are looking for.

cheers,
Lothar


Am 17.01.2008 um 17:14 schrieb jhonny thio:

hi, my name is Jhonny...i have founded that no event can handle window when the window is closed...if i use event "disappear", this event will called when i minimize the window too....i only want an event that called when i close the
window..can help me? Thanks

i also want ask, can qooxdoo component make the application like there in www.youos.com? i ask this because i have an project that make an application like youos.com and now i confused what ajax i must use. can qooxdoo finish it? thanks

Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. --------------------------------------------------------------------- ----
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel



Looking for last minute shopping deals? Find them fast with Yahoo! Search. ---------------------------------------------------------------------- ---
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to