XmStringSegmentCreate(3) | Library Functions Manual | XmStringSegmentCreate(3) |
XmStringSegmentCreate — A compound string function that creates a compound string "XmStringSegmentCreate" "compound string functions" "XmStringSegmentCreate"
#include <Xm/Xm.h> XmString XmStringSegmentCreate( char * text, XmStringTag tag, XmStringDirection direction, Boolean separator);
This function is obsolete and exists for compatibility with previous releases. It can be replaced by using a combination of XmStringComponentCreate and XmStringConcat. XmStringSegmentCreate is a high-level function that assembles a compound string consisting of a font list element tag, a direction component, a text component, and an optional separator component.
The function allocates space for the returned compound string. The application is responsible for managing the allocated space. The application can recover the allocated space by calling XmStringFree.
Returns a new compound string.