XmStringWidth(library call) XmStringWidth(library call)

XmStringWidth — A compound string function that returns the width of the widest line in a compound string

#include <Xm/Xm.h>
Dimension XmStringWidth(
XmRenderTable rendertable,
XmString string);

XmStringWidth returns the width, in pixels, of the widest line in the provided compound string.

Specifies the render table
Specifies the string

Returns the width of the compound string.

XmStringCreate(3).