Title: | DECWINDOWS 26-JAN-89 to 29-NOV-90 |
Notice: | See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit |
Moderator: | STAR::VATNE |
Created: | Mon Oct 30 1989 |
Last Modified: | Mon Dec 31 1990 |
Last Successful Update: | Fri Jun 06 1997 |
Number of topics: | 3726 |
Total number of notes: | 19516 |
This question is sorta related to note 483... In a simple application with a call to XCreateWindow running with the DECwindows window manager, EXACTLY what windows are created. I have played around with XQueryTree and noticed that the window I created with XCreateWindow has 4 parents before it gets to the root window. Using xwininfo (on ULTRIX) I have discovered the title bar is a window, the shrink to icon icon, the push to back icon, and the resize icon are all one window, the background is a window, but I still seem to be missing a coupla others. Can anyone shed some more light on this for me ??? thanks, -jg
T.R | Title | User | Personal Name | Date | Lines |
---|---|---|---|---|---|
486.1 | Wheels within wheels... | TBD1::BURLEIGH | Dave, DECwindows Training | Tue Mar 28 1989 07:43 | 28 |
XCreateWindow creates a single window. This is what is happening: 1) You call XCreateWindow to create a window as a child of the root window; 2) You call XMapWindow to make the window viewable; 3) Because the window manager has selected SubstructureRedirectMask on the root window, you MapWindow request is not performed immediately by the server, but is sent to the window manager as a MapRequest event; 4) The window manager creates a "frame" window slightly bigger than your window, as a child of its "pseudo-root" window, and inside this frame, it creates the title bar and other buttons; 5) The window manager "reparents" your window to be a child of its own "frame" window; 6) The window manager honors your MapWindow request by mapping both your window and its frame; 7) Voila! You see a DECwindows-style application window, with all the trimmings! Dave | |||||
486.2 | See ELKTRA::DW_EXAMPLES note 117 | CVG::PETTENGILL | mulp | Tue Mar 28 1989 15:28 | 2 |
See xlswins which will list all windows, or a subtree. |