XmTextGetBaseline(3X)

XmTextGetBaseline -- A Text function that accesses thex position of the first baseline

As shipped in IRIX 6.5.22. Unchanged since IRIX 6.5.

NAME
     XmTextGetBaseline  -- A  Text  function  that accesses thex position of the
     first baseline

SYNOPSIS
     #include <Xm/Text.h>

     int XmTextGetBaseline (widget)
          Widget    widget;


VERSION
     This page documents version 1.2 of the Motif library.

DESCRIPTION
     XmTextGetBaseline accesses the x position of the first baseline in the Text
     widget, relative to the x position of the top of the widget.


     widget Specifies the Text widget ID


     For a complete definition of Text and its  associated  resources,  see  Xm-
     Text(3X).

RETURN VALUE
     Returns  an  integer value that indicates the x position of the first base-
     line in the Text 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.

RELATED INFORMATION
     XmText(3X).

                                                           XmTextGetBaseline(3X)