File: XmScrollBarSetValues.3

package info (click to toggle)
motif 2.3.8-4
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 36,432 kB
  • sloc: ansic: 452,643; sh: 4,611; makefile: 2,030; yacc: 1,604; lex: 352; cpp: 348
file content (113 lines) | stat: -rw-r--r-- 3,296 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
'\" t
...\" ScrollBC.sgm /main/9 1996/09/08 21:01:00 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 "XmScrollBarSetValues" "library call"
.SH "NAME"
\fBXmScrollBarSetValues\fP \(em A ScrollBar function that changes ScrollBar\&'s increment values and the slider\&'s size and position
.iX "XmScrollBarSetValues"
.iX "ScrollBar functions" "XmScrollBarSetValues"
.SH "SYNOPSIS"
.PP
.nf
#include <Xm/ScrollBar\&.h>
void XmScrollBarSetValues (\fIwidget, value, slider_size, increment, page_increment,
notify\fP)
        Widget  \fIwidget\fP;
        int     \fIvalue\fP;
        int     \fIslider_size\fP;
        int     \fIincrement\fP;
        int     \fIpage_increment\fP;
        Boolean \fInotify\fP;
\fB\fR(\fBvoid\fR)
.fi
.SH "DESCRIPTION"
.PP
\fBXmSetScrollBarValues\fP changes the ScrollBar\&'s increment values and the
slider\&'s size and position\&.
The scroll region is overlaid with a
slider bar that is adjusted in size and position using the main ScrollBar or
set slider function attributes\&.
.IP "\fIwidget\fP" 10
Specifies the ScrollBar widget ID\&.
.IP "\fIvalue\fP" 10
Specifies the ScrollBar\&'s slider
position\&. Refer to the \fBXmNvalue\fP resource described on
\fBXmScrollBar\fP(3)\&.
.IP "\fIslider_size\fP" 10
Specifies the size of the
slider\&. Refer to the \fBXmNsliderSize\fP resource described on
\fBXmScrollBar\fP(3)\&. This argument sets that resource\&.
Specify a
value of 0 (zero) if you do not want to change the value\&.
.IP "\fIincrement\fP" 10
Specifies the amount of button increment and decrement\&.
Refer to the \fBXmNincrement\fP resource described on
\fBXmScrollBar\fP(3)\&. This argument sets that resource\&.
Specify a
value of 0 (zero) if you do not want to change the value\&.
.IP "\fIpage_increment\fP" 10
Specifies the amount of page increment and decrement\&.
Refer to the \fBXmNpageIncrement\fP resource described on
\fBXmScrollBar\fP(3)\&. This argument sets that resource\&.
Specify a
value of 0 (zero) if you do not want to change the value\&.
.IP "\fInotify\fP" 10
Specifies a Boolean value that, when True, indicates a change in
the ScrollBar value and also specifies that the ScrollBar widget
automatically activates
the \fBXmNvalueChangedCallback\fP with the recent change\&.
If it is set to False,
it specifies any change that has occurred in the ScrollBar\&'s value, but
does not activate \fBXmNvalueChangedCallback\fP\&.
.PP
For a complete definition of ScrollBar and its associated resources, see
\fBXmScrollBar\fP(3)\&.
.SH "RELATED"
.PP
\fBXmScrollBar\fP(3)\&.
...\" created by instant / docbook-to-man, Sun 22 Dec 1996, 20:29