XmStringSegmentCreate(X3mot)


XmStringSegmentCreate -- a compound string function that creates a compound string

Synopsis

#include <Xm/Xm.h> 

XmString XmStringSegmentCreate (text, tag, direction, separator) char * text; char *tag; XmStringDirection direction; Boolean separator;

Description

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.

text
Specifies a null-terminated string to be used as the text component of the compound string.

tag
Specifies the font list element tag to be associated with the text. The value XmFONTLIST_DEFAULT_TAG identifies a locale text segment.

direction
Specifies the direction of the text.

separator
Specifies separator addition. If False, the compound string does not have a separator at the end. If True, a separator immediately follows the text component.

Return values

Returns a new compound string.

References

XmStringCreate(X3mot)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.