Newsgroups: comp.windows.x
Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!think.com!mintaka!bloom-beacon!dont-send-mail-to-path-lines
From: swick@athena.mit.EDU (Ralph Swick)
Subject: Re: child geomtry
Message-ID: <9105211358.AA15881@lyre.MIT.EDU>
Sender: daemon@athena.mit.edu (Mr Background)
Organization: The Internet
References: <1991May21.040156.16740@metro.ucc.su.OZ.AU>
Date: 21 May 91 13:58:14 GMT
Lines: 11

    To find the preferred geometry of a child of a composite widget do I call the
    child's query gometry method? If so how? If not how else?

Yes, the query geometry method is intended to return this information.
You invoke it through the XtQueryGeometry accessor function; see
Section 6.7 of the Xt spec (page 738 of the DECpress book).

To find the unconstrained preferences, specify the request_mode field
of the 'intended' argument as 0.  Note that if the widget has not
implemented (or inherited) the query geometry method, the answer you
get back will be the current geometry.
