Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!orion.oac.uci.edu!ucivax!zardoz.cpd.com!spsd!dg-rtp!wgate!atesysv!wgate.wgate.com From: lanzo@wgate.wgate.com (Mark Lanzo) Newsgroups: comp.windows.x.motif Subject: Question about Motif resource converters Message-ID: <188@atesysv.UUCP> Date: 31 May 91 16:37:14 GMT Sender: uucp@wgate.UUCP Organization: Wandel & Goltermann Technologies, RTP, NC Lines: 32 First, background info before I pose my question: Hardware: HP9000/370 OS: HP-UX 7.0B S/W: X11R3, Motif 1.0 The question: What is the correct way to get all of the Motif resource type converters registered when my application starts up? I want to use XtGetApplicationResources() to fetch a bunch of parameters. It turns out that none of the Motif type converters are available (such as String to FontList). Now, I found that there was an undocumented function XmRegisterConverters() which does the trick, so I have code which looks like: RootWidget = XtInitialize(...); XmRegisterConverters(); XtGetApplicationResources(...); This works fine; however, I am uncomfortable using a function which I would never know existed had I not looked for it in the source code for the Motif toolkit. So: is there a more "proper" way to do this? Thanks, Mark