🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #36517

How to move windows of widgets?

#36517
From: Sanjay Manandhar
Date: Wed, 07 Feb 1990 19:52
12 lines
936 bytes
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
Technical Details
Message-ID: <1564@mit-amt.MEDIA.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!mit-eddie!mit-amt!sanjay
References: <8680@portia.Stanford.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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