DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

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)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 26 May 2005