Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!usc!ucsd!ucbvax!alphalpha.com!nazgul From: nazgul@alphalpha.com (Kee Hinckley) Newsgroups: comp.windows.x.motif Subject: Re: XmString manipulation Message-ID: <901030124027.2458@alphalpha> Date: 30 Oct 90 16:40:27 GMT References: <620@secola.Columbia.NCR.COM> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: inet Organization: The Internet Lines: 9 > XmString. Is there a way to convert from XmString to regular char strings > so that I might use this seloction? That particular return value is singularly unuseful, since 90% of the time you need to convert it. char *cptr; XmStringGetLtoR(str, XmSTRING_DEFAULT_CHARSET, &cptr); /* do stuff */ XtFree(cptr);