DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

XmStringWidth(Xm)


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)
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003