Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

XmTextField(3X)

XmTextFieldGetBaseline(3X)  —  Subroutines

OSF

NAME

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

SYNOPSIS

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

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. 

widgetSpecifies the TextField widget ID

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

RETURN VALUE

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. 

RELATED INFORMATION

XmTextField(3X). 

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