1XmTextSetTopCharacter(library call)        XmTextSetTopCharacter(library call)
2
3
4

NAME

6       XmTextSetTopCharacter  —  A Text function that sets the position of the
7       first character displayed
8

SYNOPSIS

10       #include <Xm/Text.h>
11       void XmTextSetTopCharacter(
12       Widget widget,
13       XmTextPosition top_character);
14

DESCRIPTION

16       XmTextSetTopCharacter sets the position of the text at the top  of  the
17       Text widget.  If the XmNeditMode is XmMULTI_LINE_EDIT, the line of text
18       that contains top_character is displayed at the top of the widget with‐
19       out  the  text  shifting  left  or  right.   If the edit mode is XmSIN‐
20       GLE_LINE_EDIT, the text moves horizontally so that top_character is the
21       first character displayed.
22
23       widget    Specifies the Text widget ID
24
25       top_character
26                 Specifies  the  position in the text to display at the top of
27                 the widget.  This is an integer number of characters from the
28                 beginning of the text buffer. The first character position is
29                 0 (zero).
30
31       For a complete definition of Text and  its  associated  resources,  see
32       XmText(3).
33
35       XmText(3).
36
37
38
39                                           XmTextSetTopCharacter(library call)
Impressum