🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #23744

Re: subwindows wanting to know top ancestor info.

#23744
From: der Mouse
Date: Sat, 15 Jun 1991 09:53
11 lines
846 bytes
> If you know the window ID, XGetGeometry will give you the width and
> height.  If you don't know the window ID, XQueryTree will give you a
> list of ancestors.

Well, repeated calls to XQueryTree will; XQueryTree directly gives only
the parent.  (A nit, I know :-)

					der Mouse

			old: mcgill-vision!mouse
			new: mouse@larry.mcrcim.mcgill.edu
Technical Details
Message-ID: <9106150953.AA25739@lightning.McRCIM.McGill.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!bloom-beacon!dont-send-mail-to-path-lines

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!bloom-beacon!dont-send-mail-to-path-lines
From: mouse@lightning.mcrcim.mcgill.EDU (der Mouse)
Newsgroups: comp.windows.x
Subject: Re: subwindows wanting to know top ancestor info.
Message-ID: <9106150953.AA25739@lightning.McRCIM.McGill.EDU>
Date: 15 Jun 91 09:53:09 GMT
Sender: daemon@athena.mit.edu (Mr Background)
Organization: The Internet
Lines: 11