Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmStriWid(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmStringWidth(Xm)              6 January 1993              XmStringWidth(Xm)


 Name

    XmStringWidth - a compound string function that returns the width of the
    longest sequence of text components in a compound string

 Syntax


    #include <Xm/Xm.h>

    Dimension XmStringWidth (fontlist, string)
    XmFontList fontlist;
    XmString string;


 Description

    XmStringWidth returns the width, in pixels, of the longest sequence of
    text components in the provided compound string. Separator components are
    used to delimit sequences of text components.

    fontlist
            Specifies the font list.

    string  Specifies the string.

 Return value

    Returns the width of the compound string.

 See also

    XmStringCreate(Xm)


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