PDA

View Full Version : WindowManager


gammagec
06-26-2008, 01:27 PM
What is the point of WindowManager? I can't seem to register any window to it because the register function is private. I thought maybe that windows automatically register, but doesn't seem to be true either.

Chris

gslender
06-26-2008, 05:27 PM
You don't register windows... you manage the Z order by grabbing the WindowManager instance http://extjs.com/deploy/gxtdocs/com/extjs/gxt/ui/client/widget/WindowManager.html#get()

and then calling bringToFront or sendToBack

gammagec
06-26-2008, 05:47 PM
I know this.. but apparently the WindowManager has no knowledge of what windows i currently have open. Where in the code does WindowManager find out about any window I create and add it to its internal list of Windows?

gslender
06-26-2008, 06:06 PM
have a look at the source of Window.java

gslender
06-26-2008, 06:11 PM
I think I see what you are now saying... it doesn't register them, and so some of the methods don't work becuase of that.

I'd raise a bug and post there...