Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!decwrl!wsl.dec.com!klee From: klee@wsl.dec.com (Ken Lee) Newsgroups: comp.windows.x Subject: Re: Ok then, please add CLIENT_DATA in the future. Message-ID: <2844@bacchus.dec.com> Date: 21 Feb 90 21:24:01 GMT References: <8542@shlump.nac.dec.com> Sender: news@decwrl.dec.com Reply-To: klee@decwrl.dec.com Organization: DEC Western Software Laboratory Lines: 20 In article <8542@shlump.nac.dec.com>, nick@deccan.dec.com (Nick Tsivranidis) writes: > P.S. Somebody (klee?) said that they think that the Motif widget > set has a CLIENT_DATA attribute. Can you be more specific? I > can't find it in the doc. According to my Motif manual, all the basic object classes (i.e., XmGadget, XmPrimitive, XmManager) except Shell have a XmNuserData resource of type caddr_t. You can put a pointer to anything you want in here. This resource is inherited by all the non-shell Motif widgets and gadgets. DECwindows Toolkit widgets have a similar resource called DwtNuserData. According to the DECwindows manual, this "specifies any user private data to be associated with the widget." Ken Lee DEC Western Software Laboratory, Palo Alto, Calif. Internet: klee@wsl.dec.com uucp: uunet!decwrl!klee