XmCvtXmStringToCT(3) | Library Functions Manual | XmCvtXmStringToCT(3) |
XmCvtXmStringToCT — A compound string function that converts a compound string to compound text "XmCvtXmStringToCT" "compound string functions" "XmCvtXmStringToCT"
#include <Xm/Xm.h> char * XmCvtXmStringToCT( XmString string);
XmCvtXmStringToCT converts a compound string to a (char *) string in compound text format. The application must call XtAppInitialize before calling this function. The converter uses the font list tag associated with a given compound string segment to select a compound text format for that segment. A registry defines a mapping between font list tags and compound text encoding formats. The converter uses the following algorithm for each compound string segment:
Returns a (char *) string in compound text format. This format is described in the X Consortium Standard Compound Text Encoding. The function allocates space to hold the returned string. The application is responsible for managing the allocated space. The application can recover the allocated space by calling XtFree.
XmCvtCTToXmString(3), XmFontList(3), XmMapSegmentEncoding(3), XmRegisterSegmentEncoding(3), and XmString.