DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

XmString(X3mot)


XmString -- data type for a compound string

Synopsis

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

References

XmStringBaseline(X3mot), XmStringByteCompare(X3mot), XmStringCompare(X3mot), XmStringConcat(X3mot), XmStringCopy(X3mot), XmStringCreate(X3mot), XmStringCreateLtoR(X3mot), XmStringCreateLocalized(X3mot), XmStringCreateSimple(X3mot), XmStringDirection(X3mot), XmStringDirectionCreate(X3mot), XmStringDraw(X3mot), XmStringDrawImage(X3mot), XmStringDrawUnderline(X3mot), XmStringEmpty(X3mot), XmStringExtent(X3mot), XmStringFree(X3mot), XmStringFreeContext(X3mot), XmStringGetLtoR(X3mot), XmStringGetNextComponent(X3mot), XmStringGetNextSegment(X3mot), XmStringHasSubstring(X3mot), XmStringHeight(X3mot), XmStringInitContext(X3mot), XmStringLength(X3mot), XmStringLineCount(X3mot), XmStringNConcat(X3mot), XmStringNCopy(X3mot), XmStringPeekNextComponent(X3mot), XmStringSegmentCreate(X3mot), XmStringSeparatorCreate(X3mot), XmStringTable(X3mot) and XmStringWidth(X3mot).
25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004