manpagez: man pages & more
man XmTextFieldGetBaseline(3)
Home | html | info | man
XmTextFieldGetBaseline(library call)      XmTextFieldGetBaseline(library call)




NAME

       XmTextFieldGetBaseline  --  A  TextField  function  that accesses the y
       position of the baseline


SYNOPSIS

       #include <Xm/TextF.h>
       int XmTextFieldGetBaseline(
       Widget widget);


DESCRIPTION

       XmTextFieldGetBaseline accesses the y position of the baseline  in  the
       TextField  widget, relative to the y 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(3).


RETURN

       Returns  an integer value that indicates the y position of the baseline
       in the TextField widget.  The calculation takes into account the margin
       height,  shadow  thickness, highlight thickness, and font ascent of the
       first font (set) in the fontlist used for drawing text.  In this calcu-
       lation, the y position of the top of the widget is 0 (zero).


RELATED

       XmTextField(3).



                                          XmTextFieldGetBaseline(library call)

openMotif 2.3.1 - Generated Wed Dec 3 19:10:41 CST 2008
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.