jne@goldhill.COM (07/27/89)
Is there any way to programmatically iconify a window? Right now, when I create a toplevel widget, I also create an icon window (because I want to specify my own pixmap among other things). When I want to iconify the window, I unmap the window and map the icon window. This has three drawbacks: 1) I don't know where to put the icon window the first time it gets iconfified. The window manager may like to put icons on the bottom row or right edge or whatever; how do I know where to put the icon? 2) Some window managers may treat icons specially. How to I let the WM know that what I have mapped is an icon? 3) Some window managers may use special effects, such as "zapping" when iconifying. It would be nice if I could take advantage of those special effects. Any help would be appreciated. Jeff Eisen Gold Hill Computers
rws@EXPO.LCS.MIT.EDU (07/27/89)
Is there any way to programmatically iconify a window? This is covered in Sections 4.1.4 and 4.1.9 of the ICCCM.
kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) (07/27/89)
> Is there any way to programmatically iconify a window?
For any Shell that is a subclass of TopLevel, there is an iconic resource.
#define XtNiconic "iconic"
Chris D. Peterson
MIT X Consortium
Net: kit@expo.lcs.mit.edu
Phone: (617) 253 - 9608
Address: MIT - Room NE43-213