Parent document is top of "Motif FAQ (Part 6 of 9)"
Previous document is "215) What string functions differ in Motif 1.1 and 1.2? Is"
Next document is "217) When can XmStrings used as resources be freed?"
216) How can I get the Ascii text out of an XmString?
Answer: To get the first line of text from a string created left-to-right
char *str;
XmString xmstr;
/* stuff to create xmstr */
...
/* set str to point to the text */
XmStringGetLtoR(xmstr, XmSTRING_DEFAULT_CHARSET, &str);
/* use the string */
...
/* and reclaim space */
XtFree(str);
Parent document is top of "Motif FAQ (Part 6 of 9)"
Previous document is "215) What string functions differ in Motif 1.1 and 1.2? Is"
Next document is "217) When can XmStrings used as resources be freed?"