Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!bellcore!snoopy!ik From: ik@snoopy.ctt.bellcore.com (Ik Su Yoo) Newsgroups: comp.windows.x.motif,bcr.motif Subject: Is `userData' resource user settable? Message-ID: <1991Mar6.182251.8322@bellcore.bellcore.com> Date: 6 Mar 91 18:22:51 GMT Sender: usenet@bellcore.bellcore.com (Poster of News) Reply-To: ik@ctt.bellcore.com (Ik Su Yoo) Organization: Bell Communications Research Lines: 19 I would like to be able to set the userData resource to a string from the resource database. (Using X11R4, Motif 1.1, and SunOS 4.1, if it makes any difference.) My first attempt at it generated a warning message: No type converter registered for 'String' to 'Pointer' conversion. So, I wrote a type converter from XtRString to XtRPointer, and I can now set the userData resource to a string. It looks to be this is dangerous thing to do since the user is also allowed to arbitrarily set other pointer-typed resources. Is there a better way to allow the userData resource to be specified in the resource database? Thanks for any help you can give me. Ik Su Yoo RRC 1H-229, (908) 699-5764 ik@ctt.bellcore.com