XmWidgetGetBaselines(3) | Library Functions Manual | XmWidgetGetBaselines(3) |
XmWidgetGetBaselines — Retrieves baseline information for a widget "XmWidgetGetBaselines"
#include <Xm/Xm.h> Boolean XmWidgetGetBaselines( Widget widget, Dimension **baselines, int *line_count);
XmWidgetGetBaselines returns an array that contains one or more baseline 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.
Returns a Boolean value that indicates whether the widget contains a baseline. If the value is True, the function returns a value for each baseline of text. If it is False, the function was unable to return a baseline value.