1XmTextFieldGetBaseline(library call) XmTextFieldGetBaseline(library call)
2
3
4
6 XmTextFieldGetBaseline — A TextField function that accesses the y posi‐
7 tion of the baseline
8
10 #include <Xm/TextF.h>
11 int XmTextFieldGetBaseline(
12 Widget widget);
13
15 XmTextFieldGetBaseline accesses the y position of the baseline in the
16 TextField widget, relative to the y position of the top of the widget.
17
18 widget Specifies the TextField widget ID
19
20 For a complete definition of TextField and its associated resources,
21 see XmTextField(3).
22
24 Returns an integer value that indicates the y position of the baseline
25 in the TextField widget. The calculation takes into account the margin
26 height, shadow thickness, highlight thickness, and font ascent of the
27 first font (set) in the fontlist used for drawing text. In this calcu‐
28 lation, the y position of the top of the widget is 0 (zero).
29
31 XmTextField(3).
32
33
34
35 XmTextFieldGetBaseline(library call)