XmTextFieldGetBaseline(3)

XmTextFieldGetBaseline3

A textfield function that accesses the y position of the baseline

Usage

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

Overview

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 calculation, the y position of the top of the widget is 0 (zero).

Releases

7 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8–13
  2. Arch

From openmotif 2.3.8-4 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.