Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!sdd.hp.com!hplabs!hplabsz!mayer From: mayer@hplabsz.HPL.HP.COM (Niels Mayer) Newsgroups: comp.windows.x Subject: Re: Finding the parent of a widget Message-ID: <5755@hplabsz.HPL.HP.COM> Date: 8 Aug 90 18:17:02 GMT References: <2034@trlluna.trl.oz> <9008071759.AA23290@zardoz.coral.com> Reply-To: mayer@hplabs.hp.com (Niels Mayer) Organization: Hewlett-Packard Labs, Software & Systems Lab, Palo Alto, CA. Lines: 22 Summary: Expires: Sender: Followup-To: In article <9008071759.AA23290@zardoz.coral.com> don@zardoz.coral.COM (Don Dewar) writes: >There is a macro in the XmP.h (private functions/methods) called >XtParent. You don't need XmP.h ... It is available in Motif 1.0 in , and in X11r4 in Here is the def from X11r4 Intrinsics.h (Motif copyright nazis take note that I'm not posting the Motif version!): > extern Widget XtParent( > #if NeedFunctionPrototypes > Widget /* widget */ > #endif > ); ------------------------------------------------------------------------------- Niels Mayer -- hplabs!mayer -- mayer@hplabs.hp.com Human-Computer Interaction Department Hewlett-Packard Laboratories Palo Alto, CA. *