Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmStriSeg(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmStringSegmentCreate(Xm)      6 January 1993      XmStringSegmentCreate(Xm)


 Name

    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 XmFONTLISTDEFAULTTAG 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)


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