Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought



XmStringWidth(3X)                UNIX System V                XmStringWidth(3X)


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


SYNOPSIS
      #include <Xm/Xm.h>

      Dimension XmStringWidth (fontlist, string)
           XmFontListfontlist;
           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.

      When string has been created with XmStringCreateSimple, the font
      associated with the character set derived from the current language
      environment must appear at the front of fontlist.  Otherwise, the result
      of the function is undefined.


     fontlist
             Specifies the font list

     string Specifies the string


RETURN VALUE
      Returns the width of the compound string.


RELATED INFORMATION
      XmStringCreate(3X) and XmStringCreateSimple(3X).


















10/89                                                                    Page 1





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