[Contents] [Index] [Next] [Previous]

XmStringSegmentCreate


NAME

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 VALUE

Returns a new compound string.

RELATED INFORMATION

XmStringCreate(3X).