Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!wuarchive!uwm.edu!bionet!agate!ucbvax!alfalfa.com!nazgul From: nazgul@alfalfa.com (Information Junkie) Newsgroups: comp.windows.x.motif Subject: Re: How can a program cause one of its windows to become iconified? Message-ID: <910424012624.20101@sun.alfalfa.com> Date: 24 Apr 91 05:26:24 GMT References: <0fHd02Qa070F01@JUTS.ccc.amdahl.com> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 19 > > I am writing a motif 1.0 application with multiple top level windows. > I would like to be able to force all top level windows to become iconified > whenever the "main" window is iconified. Right now, I am using > XtUnmapWidget() to unmap them, but when they are Mapped again using > XtMapWidget() the size and position of the windows is lost. You can set transientFor and you can make sure they have the same window group leader. However some window managers (Olwm being one) ignore all of that. In that case you just have to map/unmap them. I've never had any problems with size and position being lost though. That seems strange. Alfalfa Software, Inc. | Poste: The EMail for Unix nazgul@alfalfa.com | Send Anything... Anywhere 617/646-7703 (voice/fax) | info@alfalfa.com I'm not sure which upsets me more: that people are so unwilling to accept responsibility for their own actions, or that they are so eager to regulate everyone else's.