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
XmTextGetTopCharacter(3) FreeBSD Library Functions Manual XmTextGetTopCharacter(3)

XmTextGetTopCharacter — A Text function that accesses the position of the first character displayed

#include <Xm/Text.h>
XmTextPosition XmTextGetTopCharacter(
Widget widget);

XmTextGetTopCharacter accesses the position of the text at the top of the Text widget. If there is no text in the Text widget (in other words, XmNvalue contains an empty string), then XmTextGetTopCharacter returns 0.

Suppose that the XmNtopCharacter resource has been set to a value greater than the number of characters in the text widget. In this case, XmTextGetTopCharacter returns an XmTextPosition value identifying the position of the first character in the last line of text in a multiline case; otherwise, it identifies the position of the last character in the line.

widget
Specifies the Text widget ID

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

Returns an XmTextPosition value that indicates the state of the XmNtopCharacter resource. This is an integer number of characters from the beginning of the text buffer. The first character position is 0 (zero).

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