DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmStringSegmentCreate(Xm)


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

Syntax

#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 value

Returns a new compound string.

See also

XmStringCreate(Xm)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005