Article View: comp.windows.x
Article #36533Re: How to move windows of widgets?
From: Paul Asente
Date: Thu, 08 Feb 1990 01:50
Date: Thu, 08 Feb 1990 01:50
15 lines
1102 bytes
1102 bytes
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
Technical Details
Message-ID:
<2699@bacchus.dec.com>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!decwrl!asenteReferences:
<8680@portia.Stanford.EDU> <1564@mit-amt.MEDIA.MIT.EDU>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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