XmStringTableToXmString (3) Linux Manual Page
XmStringTableToXmString — A convenience function that converts a compound string table to a single compound string
Synopsis
#include <Xm/Xm.h>XmString XmStringTableToXmString(XmStringTable table,Cardinal count,XmString break_component);
Description
XmStringTableToXmString takes as input table of compound strings and a specified string component (such as a tab) and returns a single compound string consisting of each of the elements of table concatenated together with a single copy of break_component inserted between each element.
- table
- Specifies an
XmStringTablecontaining the compound strings to be converted. - count
- Specifies the number of compound strings in table.
- break_component
- Specifies the
XmStringComponentthat will be inserted in the result to separate the individual elements of table. The most useful types will beXmSTRING_COMPONENT_SEPARATORandXmSTRING_COMPONENT_TAB. Refer to theXmStringComponentType(3) reference page for a complete list of possible component types. Note, however, that theXmSTRING_COMPONENT_UNKNOWNcomponent is not a possible type.
Return
Returns a new XmString. The function will allocate space to hold the returned compound string. When the application no longer needs the returned compound string, the application should call XmStringFree.
Related
XmString(3), XmStringComponentType(3), and XmStringFree(3).
