1XmTextScroll(library call) XmTextScroll(library call)
2
3
4
6 XmTextScroll — A Text function that scrolls text
7
9 #include <Xm/Text.h>
10 void XmTextScroll(
11 Widget widget,
12 int lines);
13
15 XmTextScroll scrolls text by a given number of lines in a Text widget.
16 The sign of the number is interpreted according to the value of the
17 XmNlayoutDirection resource.
18
19 widget Specifies the Text widget ID
20
21 lines Specifies the number of lines of text to scroll. A positive
22 value causes text to scroll upward; a negative value causes
23 text to scroll downward. Note that the text will scroll only
24 as long as one line of text remains visible in the window.
25
26 If a navigator exists, this function uses the XmQTnavigator
27 trait to update the vertical navigator's value.
28
29 In the case of vertical writing, a positive value causes the
30 text to scroll forward; a negative value causes the lines to
31 scroll backward.
32
33 For a complete definition of Text and its associated resources, see
34 XmText(3).
35
37 XmText(3).
38
39
40
41 XmTextScroll(library call)