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. rendertable Specifies the render table string Specifies the string
Returns the width of the compound string.
XmStringCreate(3). XmStringWidth(library call)