GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
XmTextGetBaseline(3) FreeBSD Library Functions Manual XmTextGetBaseline(3)

XmTextGetBaseline — A Text function that accesses the y position of the baseline

#include <Xm/Text.h>
int XmTextGetBaseline(
Widget widget);

XmTextGetBaseline accesses the y position of the baseline in the Text widget, relative to the y position of the top of the widget.

In vertical mode (when the XmNlayoutDirection resource is XmTOP_TO_BOTTOM) this function returns 0 and the program should use XmTextGetCenterline

widget
Specifies the Text widget ID

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

Returns an integer value that indicates the y position of the baseline in the Text 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).

XmText(3), XmTextGetCenterline(3).

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.