Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ XmTeGetBa(Xm) — OpenDesktop Software Development System 3.0.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought


 XmTextGetBaseline(Xm)          6 January 1993          XmTextGetBaseline(Xm)


 Name

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

 Syntax


    #include <Xm/Text.h>

    int XmTextGetBaseline (widget)
    Widget widget;


 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
    XmText(Xm).

 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.

 See also

    XmText(Xm)


Typewritten Software • bear@typewritten.org • Edmonds, WA 98026