table of contents
XmTextGetBaseline(3) | Library Functions Manual | XmTextGetBaseline(3) |
NAME¶
XmTextGetBaseline — A Text function that accesses the y position of the baseline "XmTextGetBaseline" "Text functions" "XmTextGetBaseline"SYNOPSIS¶
#include <Xm/Text.h> int XmTextGetBaseline( Widget widget);
DESCRIPTION¶
XmTextGetBaseline accesses the y position of the baseline in the Text widget, relative to the y position of the top of the widget.In vertical mode (when the XmNlayoutDirection resource is XmTOP_TO_BOTTOM) this function returns 0 and the program should use XmTextGetCenterline
- widget
- Specifies the Text widget ID
For a complete definition of Text and its associated resources, see XmText(3).