XmStringWidth man page

XmStringWidth ā€” A compound string function that returns the width of the widest line in a compound string

Synopsis

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

Description

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

rendertable

Specifies the render table

string

Specifies the string

Return

Returns the width of the compound string.

Referenced By

XmString(3), XmStringCreate(3).