Path: utzoo!attcan!uunet!snorkelwacker!mit-eddie!mit-amt!sanjay From: sanjay@mit-amt.MEDIA.MIT.EDU (Sanjay Manandhar) Newsgroups: comp.windows.x Subject: How to move windows of widgets? Message-ID: <1564@mit-amt.MEDIA.MIT.EDU> Date: 7 Feb 90 19:52:10 GMT References: <8680@portia.Stanford.EDU> Reply-To: sanjay@media-lab.media.mit.edu (Sanjay Manandhar) Organization: MIT Media Lab, Cambridge MA Lines: 12 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. Do I have to operate on XtMainLoop? A local event hander in the callback looking for expose events did not make the window visible. sanjay