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)
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004