Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!kit From: kit@EXPO.LCS.MIT.EDU (Chris D. Peterson) Newsgroups: comp.windows.x Subject: Re: Repositioning TopLevelShell Widgets Message-ID: <9006111729.AA21104@expo.lcs.mit.edu> Date: 11 Jun 90 17:29:25 GMT References: <25891@netnews.upenn.edu> Sender: root@athena.mit.edu (Wizard A. Root) Organization: The Internet Lines: 28 > I am using VMS 5.3, DecWindows version 2. I have tried everything that > I can think of to be able to move a toplevelshell widget from within > program control. In particular, I have tried: > 1. Setting the XtNx and XtNy resources of the widget. > 2. Calling XtMoveWidget > 3. Calling XtMakeGeometry Request. > Is it possible to move a TopLevelShell widget from within program control? > Thanks Method 1 is the correct way to for an application to change the location of any widget. As with moving any widget the ultimate decision on whether or not to allow to move it up to the parent of the widget in question. Since Toplevel widgets have no parent the decision usually falls to the window manager. In this case it sounds like your window manager is not allowing the program to modify the location of the clients. This is acceptable (although anti-social) behavior. You may want to try another window manager such as the R4 version of twm or possibly uwm (sudder :-), I believe that both of these allow program control of the client window location. Chris D. Peterson MIT X Consortium Net: kit@expo.lcs.mit.edu Phone: (617) 253 - 9608 Address: MIT - Room NE43-213