'\" t
...\" TxtGetTo.sgm /main/8 1996/09/08 21:18:16 rws $
.de P!
.fl
\!!1 setgray
.fl
\\&.\"
.fl
\!!0 setgray
.fl \" force out current output buffer
\!!save /psv exch def currentpoint translate 0 0 moveto
\!!/showpage{}def
.fl \" prolog
.sy sed -e 's/^/!/' \\$1\" bring in postscript file
\!!psv restore
.
.de pF
.ie \\*(f1 .ds f1 \\n(.f
.el .ie \\*(f2 .ds f2 \\n(.f
.el .ie \\*(f3 .ds f3 \\n(.f
.el .ie \\*(f4 .ds f4 \\n(.f
.el .tm ? font overflow
.ft \\$1
..
.de fP
.ie !\\*(f4 \{\
. ft \\*(f4
. ds f4\"
' br \}
.el .ie !\\*(f3 \{\
. ft \\*(f3
. ds f3\"
' br \}
.el .ie !\\*(f2 \{\
. ft \\*(f2
. ds f2\"
' br \}
.el .ie !\\*(f1 \{\
. ft \\*(f1
. ds f1\"
' br \}
.el .tm ? font underflow
..
.ds f1\"
.ds f2\"
.ds f3\"
.ds f4\"
.ta 8n 16n 24n 32n 40n 48n 56n 64n 72n
.TH "XmTextGetTopCharacter" "library call"
.SH "NAME"
\fBXmTextGetTopCharacter\fP \(em A Text function that accesses the position of the first character displayed
.iX "XmTextGetTopCharacter"
.iX "Text functions" "XmTextGetTopCharacter"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/Text\&.h>
\fBXmTextPosition \fBXmTextGetTopCharacter\fP\fR(
\fBWidget \fBwidget\fR\fR);
.fi
.SH "DESCRIPTION"
.PP
\fBXmTextGetTopCharacter\fP 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,
\fBXmNvalue\fP contains an empty string),
then \fBXmTextGetTopCharacter\fP returns 0\&.
.PP
Suppose that the \fBXmNtopCharacter\fP resource has been
set to a value greater than the number of characters in
the text widget\&. In this case,
\fBXmTextGetTopCharacter\fP returns an
\fBXmTextPosition\fR 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\&.
.IP "\fIwidget\fP" 10
Specifies the Text widget ID
.PP
For a complete definition of Text and its associated resources, see
\fBXmText\fP(3)\&.
.SH "RETURN"
.PP
Returns an \fBXmTextPosition\fR value that indicates the state of the
\fBXmNtopCharacter\fP resource\&. This is an integer number of characters
from the beginning of the text buffer\&. The first character position is
0 (zero)\&.
.SH "RELATED"
.PP
\fBXmText\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:35