Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!decwrl!asente From: asente@decwrl.dec.com (Paul Asente) Newsgroups: comp.windows.x Subject: Re: How to move windows of widgets? Message-ID: <2699@bacchus.dec.com> Date: 8 Feb 90 01:50:11 GMT References: <8680@portia.Stanford.EDU> <1564@mit-amt.MEDIA.MIT.EDU> Organization: DEC Western Software Lab Lines: 15 In article <1564@mit-amt.MEDIA.MIT.EDU> sanjay@media-lab.media.mit.edu (Sanjay Manandhar) writes: >I am trying to move the window corresponding to a command widget which >is a child of a form widget. In the callback of the command widget I >extract its window ID using XtWindow(). Now I want to move this window >just like any other window using XMoveWindow() and then XMapRaised(). > >The outcome: The command widget vanishes but it does not show up at >the new place. You shouldn't be moving your widget that way; instead you should be doing an XtSetValues on its XtNx and XtNy resources. You're probably confusing the poor form widget something awful. -paul asente asente@decwrl.dec.com decwrl!asente