Hi Tomek, I don't think qx enables windows within windows out of the box -- because window extends popup, and all popups are added to the clientdocument.
You could make it "appear" that windows are nested within other windows by extending/modifying my window subclass so that windows are constrained within an arbitrary workspace (such as another window). This could work the same way my current maximise strategy works. This would require some extra code to handle dragging and minimise/restore of child/parent windows. Interesting idea thou :) Simon ----- Original Message ---- From: Tomek D Loboda <[EMAIL PROTECTED]> To: qooxdoo-devel@lists.sourceforge.net Sent: Thursday, 8 February, 2007 11:20:34 AM Subject: Re: [qooxdoo-devel] Extended window manager demo Hi Simon, Yes, if an application is to occupy a whole browser window, then windows are just subcomponents. I was thinking about a scenario when a browser window hosts an environment in which each application has it's own window. Web desktop so to say. So QxApplication would be the environment and QxWindows would be applications within that environment. QX doesn't support windows in windows (correct me if I'm wrong) so it wouldn't be possible to have MDAs. --Tomek Simon Bull wrote: > Hi Tomek, > > I think it depends on what you call an "application". You could treat a > single window class as a whole application, but for me, each window type has > one specific purpose within a larger application. > > For example, my application has a ResultsExplorer window for the user to > browse query results, a Map window to browse geographically, a > PropertiesEditor to view/edit the properties of objects, an ImageViewer > window to view stills and video in, etc. > > All these windows work together to make up a larger "application". E.g., the > user can drag a marquee around a geographic space in the Map window which > queries the business tier and returns a set of selected objects to a > ResultsExplorer window. Or the user can click a "locate" button in most > windows to locate whatever they are looking at in a MapWindow. > > Cheers, > > Simon > > > ----- Original Message ---- > From: Tomek D Loboda <[EMAIL PROTECTED]> > To: qooxdoo-devel@lists.sourceforge.net > Sent: Sunday, 4 February, 2007 10:56:59 AM > Subject: Re: [qooxdoo-devel] Extended window manager demo > > Hey Simon, > > Thanks a lot for sharing your application. I just got time to look at it > yesterday and it's a piece of solid work. Also thanks to Fabian for info > on bringing the app up with 0.6.5. > > I have a question. You are extending QxWindow class and then extending > your own Window class to create four new Window classes. So now, each of > these new Window classes can be though of as separate applications. So > if you wanted to create an application you would put all relevant code > inside of one of the new Window classes (e.g. > ext.ui.window.NetImageWindow), right? > > Thanks, > --Tomek > > > Simon Bull wrote: >> Hi List, >> >> Jason, Tomek and a couple of others were interested in my extended window >> manager. Here's a working example in a "skeleton-like" demo. >> >> >> >> It isn't perfect or complete -- but here's what it does do: >> >> >> >> 1) maximise windows to a workspace (not the full screen), >> >> 2) minimise windows to an icon, and restore from icon, >> >> 3) cascade newly created window instances, >> >> 4) click to focus windows, >> >> 5) unfocussed windows are dimmed (and mouse events blocked), >> >> 6) Find windows by type (create lots of windows using File -> New..., the >> try File -> Focus...) >> >> 7) Configure supported window types and limit the number of each window >> (preset to 10) >> >> 8) Closed window instances are returned to a Pool, and reused next time they >> are required. >> >> >> >> If you are interested in how it all works, start by looking for "var >> supportedWindowTypes = " in custom/Application.js . >> >> >> To get it up and running: >> >> 1) Check out qx "0.6.2-pre" r4822 -- it should work with later versions with >> minimal fuss, but I haven't tried it yet -- into a dir called $/qooxdoo-sdk . >> >> 2) download the attached project and rename it to "windowing-demo.zip" -- >> the mail server wouldn't accept any .zip attachments. >> >> 3) unzip the attachment into the same dir that now contains $/qooxdoo-sdk . >> You should end up with: >> $/ >> $/qooxdoo-sdk/frontend/ >> $/qooxdoo-apps/windowing-demo/ >> >> 4) open a command prompt and cd into $/qooxdoo-apps/windowing-demo/ and >> execute "make" >> >> 5) open $/qooxdoo-apps/windowing-demo/build/index.html in your browser. >> >> >> Any feedback/comments welcome of course. >> >> Enjoy, >> >> Simon >> >> >> >> Send instant messages to your online friends http://au.messenger.yahoo.com >> >> >> ------------------------------------------------------------------------ >> >> ------------------------------------------------------------------------- >> Take Surveys. Earn Cash. Influence the Future of IT >> Join SourceForge.net's Techsay panel and you'll get the chance to share your >> opinions on IT & business topics through brief surveys - and earn cash >> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >> >> >> ------------------------------------------------------------------------ >> >> _______________________________________________ >> qooxdoo-devel mailing list >> qooxdoo-devel@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > _______________________________________________ > qooxdoo-devel mailing list > qooxdoo-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel > > > > > Send instant messages to your online friends http://au.messenger.yahoo.com > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job easier. > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel Send instant messages to your online friends http://au.messenger.yahoo.com ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier. Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ qooxdoo-devel mailing list qooxdoo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel