Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!apple!usc!bloom-beacon!goldhill.COM!jne From: jne@goldhill.COM Newsgroups: comp.windows.x Subject: Requesting to be iconified Message-ID: <8907261949.AA00519@godzilla.goldhill.com> Date: 26 Jul 89 19:49:21 GMT Sender: daemon@bloom-beacon.MIT.EDU Organization: The Internet Lines: 23 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