XmStringSegmentCreate(3X) UNIX System V XmStringSegmentCreate(3X)
NAME
XmStringSegmentCreate - a compound string function that creates a
compound string.
SYNOPSIS
#include <Xm/Xm.h>
XmString XmStringSegmentCreate (text, charset, direction, separator)
char * text;
XmStringCharSetcharset;
XmStringDirectiondirection;
Boolean separator;
DESCRIPTION
XmStringSegmentCreate is a high-level function that assembles a compound
string consisting of a character set identifier, 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.
charset
Specifies the character set identifier to be associated with the
text. This can be XmSTRING_DEFAULT_CHARSET, but this value does
not comply with the AES, and it may be removed in future versions
of Motif. If the value is XmSTRING_DEFAULT_CHARSET, the routine
derives the character set from the current language environment.
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 VALUE
Returns a new compound string.
RELATED INFORMATION
XmStringCreate(3X).
10/89 Page 1