1XmScrollBarSetValues(library call) XmScrollBarSetValues(library call)
2
3
4
6 XmScrollBarSetValues — A ScrollBar function that changes ScrollBar's
7 increment values and the slider's size and position
8
10 #include <Xm/ScrollBar.h>
11 void XmScrollBarSetValues (widget, value, slider_size, increment, page_increment,
12 notify)
13 Widget widget;
14 int value;
15 int slider_size;
16 int increment;
17 int page_increment;
18 Boolean notify;
19 (void)
20
22 XmSetScrollBarValues changes the ScrollBar's increment values and the
23 slider's size and position. The scroll region is overlaid with a
24 slider bar that is adjusted in size and position using the main Scroll‐
25 Bar or set slider function attributes.
26
27 widget Specifies the ScrollBar widget ID.
28
29 value Specifies the ScrollBar's slider position. Refer to the XmN‐
30 value resource described on XmScrollBar(3).
31
32 slider_size
33 Specifies the size of the slider. Refer to the XmNsliderSize
34 resource described on XmScrollBar(3). This argument sets that
35 resource. Specify a value of 0 (zero) if you do not want to
36 change the value.
37
38 increment Specifies the amount of button increment and decrement.
39 Refer to the XmNincrement resource described on XmScroll‐
40 Bar(3). This argument sets that resource. Specify a value of
41 0 (zero) if you do not want to change the value.
42
43 page_increment
44 Specifies the amount of page increment and decrement. Refer
45 to the XmNpageIncrement resource described on XmScrollBar(3).
46 This argument sets that resource. Specify a value of 0
47 (zero) if you do not want to change the value.
48
49 notify Specifies a Boolean value that, when True, indicates a change
50 in the ScrollBar value and also specifies that the ScrollBar
51 widget automatically activates the XmNvalueChangedCallback
52 with the recent change. If it is set to False, it specifies
53 any change that has occurred in the ScrollBar's value, but
54 does not activate XmNvalueChangedCallback.
55
56 For a complete definition of ScrollBar and its associated resources,
57 see XmScrollBar(3).
58
60 XmScrollBar(3).
61
62
63
64 XmScrollBarSetValues(library call)