Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmStriCrC(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmStringCreateLtoR(Xm)         6 January 1993         XmStringCreateLtoR(Xm)


 Name

    XmStringCreateLtoR - a compound string function that creates a compound
    string

 Syntax


    #include <Xm/Xm.h>

    XmString XmStringCreateLtoR (text, tag)
    char *text;
    char *tag;


 Description

    XmStringCreateLtoR creates a compound string with two components: text
    and a font list element tag.  This function imposes the semantic of scan-
    ning for \n characters in the text.  When one is found, the text up to
    that point is put into a segment followed by a separator component.  No
    final separator component is appended to the end of the compound string.
    The direction defaults to left-to-right.  This function assumes that the
    encoding is single octet rather than double octet per character of text.

    text    Specifies a null-terminated string to be used as the text com-
            ponent of the compound string.

    tag     Specifies the font list element tag to be associated with the
            given text.  The value XmFONTLISTDEFAULTTAG identifies a locale
            text segment.

 Return value

    Returns a new compound string.

 See also

    XmStringCreate(Xm)


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