XmStringUnparse(3) | Library Functions Manual | XmStringUnparse(3) |
XmStringUnparse — A compound string function that unparses text "XmStringUnparse"
#include <Xm/Xm.h> XtPointer XmStringUnparse( XmString string, XmStringTag tag, XmTextType tag_type, XmTextType output_type, XmParseTable parse_table, Cardinal parse_count, XmParseModel parse_model);
XmStringUnparse looks in the input string for text segments that are tagged with locale or charset tags that match tag. The tag_type parameter specifies whether the tag is a locale or charset type. If tag has a value of NULL, all the segments are matched. When a text segment is found with a matching tag, it is added to the end of a resulting string. The characters in the resulting string are of type output_type.
XmStringUnparse also checks string for components that match components in parse_table, and also to see if the component matches the condition specified by parse_model. If the string component matches in both checks, then the associated character is added to the end of the resulting string.
Returns a newly allocated string containing characters of a type determined by output_type. The application is responsible for managing this allocated space. The application can recover this allocated space by calling XtFree.
XmString(3), XmParseTable(3), XmParseMapping(3).