ta_k@maths.su.oz.au (Katya Ta) (05/21/91)
Hi,
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?
Thanks in advance
bye Katya
--
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-
/ __ | Katya Ta
---- |__| __|__ University of Sydney
-- |__| | Australia
-- |__| \| (ta_k@maths.su.oz.au)
__ /| |
|__| _/ | | <-- Chay(Cantonese) == Ta.(Vietnamese) :)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-==-=-=-=-=-=-=-=-=-=-=-=-
swick@athena.mit.EDU (Ralph Swick) (05/21/91)
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.