DOKK / manpages / debian 10 / libmotif-dev / XmStringWidth.3.en
XmStringWidth(3) Library Functions Manual XmStringWidth(3)

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

#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).