XmWidgetGetBaselines(3X)XmWidgetGetBaselines(3X)NAMEXmWidgetGetBaselines — Retrieves baseline information for a widget
SYNOPSIS
#include <Xm/Xm.h>
Boolean XmWidgetGetBaselines (widget, baselines, line_count) Wid‐
get widget; Dimension **baselines;
int *line_count;
VERSION
This page documents version 1.2 of the Motif library.
DESCRIPTIONXmWidgetGetBaselines returns an array that contains one or more base‐
line values associated with the specified widget. The baseline of any
given line of text is a vertical offset in pixels from the origin of
the widget's bounding box to the given baseline. This routine allo‐
cates memory for the returned data. The application must free this
memory using XtFree. Specifies the ID of the widget for which baseline
values are requested Returns an array that contains the value of each
baseline of text in the widget Returns the number of lines in the wid‐
get
RETURN VALUE
Returns a Boolean value that indicates whether the widget contains a
baseline. If True, the function returns a value for each baseline of
text. If False, the function was unable to return a baseline value.
RELATED INFORMATIONXmWidgetGetDisplayRect(3X).
XmWidgetGetBaselines(3X)