Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmStriCom(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmStringCompare(Xm)            6 January 1993            XmStringCompare(Xm)


 Name

    XmStringCompare - a compound string function that compares two strings

 Syntax


    #include <Xm/Xm.h>

    Boolean XmStringCompare (s1, s2)
    XmString s1;
    XmString s2;


 Description

    XmStringCompare returns a Boolean value indicating the results of a
    semantically equivalent comparison of two compound strings.

    Semantically equivalent means that the strings have the same text com-
    ponents, font list element tags, directions, and separators.  In general,
    if two compound strings are created with the same (char *) string using
    XmStringCreateLocalized in the same language environment, the compound
    strings compare as equal.  If two compound strings are created with the
    same (char *) string and the same font list element tag other than
    XmFONTLISTDEFAULTTAG using XmStringCreate, the strings compare as
    equal.

    s1      Specifies a compound string to be compared with s2

    s2      Specifies a compound string to be compared with s1

 Return value

    Returns True if two compound strings are equivalent.

 See also

    XmStringCreate(Xm) and XmStringCreateLocalized(Xm).


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