XmTextFieldGetBaseline(X3mot)


XmTextFieldGetBaseline -- a TextField function that accesses the x position of the first baseline

Synopsis

#include <Xm/TextF.h>

int XmTextFieldGetBaseline (widget) Widget widget;

Description

XmTextFieldGetBaseline accesses the x position of the first baseline in the TextField widget, relative to the x position of the top of the widget.

widget
Specifies the TextField widget ID

For a complete definition of TextField and its associated resources, see XmTextField(X3mot).

Return values

Returns an integer value that indicates the x position of the first baseline in the TextField widget. The calculation takes into account the margin height, shadow thickness, highlight thickness, and font ascent of the first font in the fontlist. In this calculation the x position of the top of the widget is 0.

References

XmTextField(X3mot)


25 April 2004
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004