Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmString(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmString(Xm)                   6 January 1993                   XmString(Xm)


 Name

    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 ele-
    ment tag, string direction, and text component. When a compound string is
    displayed, the font list element tag and the direction are used to deter-
    mine how to display the text.  Whenever a font list element tag is set to
    XmFONTLISTDEFAULTTAG 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), XmStringCre-
    ateLtoR(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).


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026