DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

XmString(Xm)


XmString -- data type for a compound string

Syntax

#include <Xm/Xm.h>

Description

XmString is the data type for a compound string. Compound strings include one or more segments, each of which may contain a font list element tag, string direction, and text component. When a compound string is displayed, the font list element tag and the direction are used to determine how to display the text. Whenever a font list element tag is set to XmFONTLIST_DEFAULT_TAG the text is handled as a locale text segment.

Calling XtGetValues for a resource whose type is XmString yields a copy of the compound string resource value. The application is responsible for using XmStringFree to free the memory allocated for the copy.

Refer to the XmFontList man page for a description of the algorithm that associates the font list element tag of a compound string segment with a font list entry in a font list.

The compound string interface consists of the routines listed under the ``See also'' section.

See also

XmStringBaseline(Xm), XmStringByteCompare(Xm), XmStringCompare(Xm), XmStringConcat(Xm), XmStringCopy(Xm), XmStringCreate(Xm), XmStringCreateLtoR(Xm), XmStringCreateLocalized(Xm), XmStringCreateSimple(Xm), XmStringDirection(Xm), XmStringDirectionCreate(Xm), XmStringDraw(Xm), XmStringDrawImage(Xm), XmStringDrawUnderline(Xm), XmStringEmpty(Xm), XmStringExtent(Xm), XmStringFree(Xm), XmStringFreeContext(Xm), XmStringGetLtoR(Xm), XmStringGetNextComponent(Xm), XmStringGetNextSegment(Xm), XmStringHasSubstring(Xm), XmStringHeight(Xm), XmStringInitContext(Xm), XmStringLength(Xm), XmStringLineCount(Xm), XmStringNConcat(Xm), XmStringNCopy(Xm), XmStringPeekNextComponent(Xm), XmStringSegmentCreate(Xm), XmStringSeparatorCreate(Xm), XmStringTable(Xm) and XmStringWidth(Xm).
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003