1Gtk2::Range(3) User Contributed Perl Documentation Gtk2::Range(3)
2
3
4
6 Gtk2::Range - wrapper for GtkRange
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Range
14
16 Glib::Object::_Unregistered::AtkImplementorIface
17 Gtk2::Buildable
18 Gtk2::Orientable
19
21 adjustment = $range->get_adjustment
22 $range->set_adjustment ($adjustment)
23 · $adjustment (Gtk2::Adjustment)
24
25 double = $range->get_fill_level
26 Since: gtk+ 2.12
27
28 $range->set_fill_level ($fill_level)
29 · $fill_level (double)
30
31 Since: gtk+ 2.12
32
33 boolean = $range->get_flippable
34 Since: gtk+ 2.18
35
36 $range->set_flippable ($flippable)
37 · $flippable (boolean)
38
39 Since: gtk+ 2.18
40
41 $range->set_increments ($step, $page)
42 · $step (double)
43
44 · $page (double)
45
46 boolean = $range->get_inverted
47 $range->set_inverted ($setting)
48 · $setting (boolean)
49
50 sensitivitytype = $range->get_lower_stepper_sensitivity
51 Since: gtk+ 2.10
52
53 $range->set_lower_stepper_sensitivity ($sensitivity)
54 · $sensitivity (Gtk2::SensitivityType)
55
56 Since: gtk+ 2.10
57
58 integer = $range->get_min_slider_size
59 Since: gtk+ 2.20
60
61 $range->set_min_slider_size ($min_size)
62 · $min_size (boolean)
63
64 Since: gtk+ 2.20
65
66 rectangle = $range->get_range_rect
67 Since: gtk+ 2.20
68
69 $range->set_range ($min, $max)
70 · $min (double)
71
72 · $max (double)
73
74 boolean = $range->get_restrict_to_fill_level
75 Since: gtk+ 2.12
76
77 $range->set_restrict_to_fill_level ($restrict_to_fill_level)
78 · $restrict_to_fill_level (boolean)
79
80 Since: gtk+ 2.12
81
82 boolean = $range->get_show_fill_level
83 Since: gtk+ 2.12
84
85 $range->set_show_fill_level ($show_fill_level)
86 · $show_fill_level (boolean)
87
88 Since: gtk+ 2.12
89
90 (slider_start, slider_end) = $range->get_slider_range
91 Since: gtk+ 2.20
92
93 boolean = $range->get_slider_size_fixed
94 Since: gtk+ 2.20
95
96 $range->set_slider_size_fixed ($size_fixed)
97 · $size_fixed (boolean)
98
99 Since: gtk+ 2.20
100
101 updatetype = $range->get_update_policy
102 $range->set_update_policy ($policy)
103 · $policy (Gtk2::UpdateType)
104
105 sensitivitytype = $range->get_upper_stepper_sensitivity
106 Since: gtk+ 2.10
107
108 $range->set_upper_stepper_sensitivity ($sensitivity)
109 · $sensitivity (Gtk2::SensitivityType)
110
111 Since: gtk+ 2.10
112
113 double = $range->get_value
114 $range->set_value ($value)
115 · $value (double)
116
118 'adjustment' (Gtk2::Adjustment : default undef : readable / writable /
119 construct / private)
120 The GtkAdjustment that contains the current value of this range
121 object
122
123 'fill-level' (double : default DBL_MAX : readable / writable / private)
124 The fill level.
125
126 'inverted' (boolean : default false : readable / writable / private)
127 Invert direction slider moves to increase range value
128
129 'lower-stepper-sensitivity' (Gtk2::SensitivityType : default "auto" :
130 readable / writable / private)
131 The sensitivity policy for the stepper that points to the
132 adjustment's lower side
133
134 'restrict-to-fill-level' (boolean : default true : readable / writable
135 / private)
136 Whether to restrict the upper boundary to the fill level.
137
138 'round-digits' (integer : default -1 : readable / writable / private)
139 The number of digits to round the value to.
140
141 'show-fill-level' (boolean : default false : readable / writable /
142 private)
143 Whether to display a fill level indicator graphics on trough.
144
145 'update-policy' (Gtk2::UpdateType : default "continuous" : readable /
146 writable / private)
147 How the range should be updated on the screen
148
149 'upper-stepper-sensitivity' (Gtk2::SensitivityType : default "auto" :
150 readable / writable / private)
151 The sensitivity policy for the stepper that points to the
152 adjustment's upper side
153
155 'activate-slider' (boolean : default false : readable / private)
156 With this option set to TRUE, sliders will be drawn ACTIVE and with
157 shadow IN while they are dragged
158
159 'arrow-displacement-x' (integer : default 0 : readable / private)
160 How far in the x direction to move the arrow when the button is
161 depressed
162
163 'arrow-displacement-y' (integer : default 0 : readable / private)
164 How far in the y direction to move the arrow when the button is
165 depressed
166
167 'arrow-scaling' (float : default 0.5 : readable / private)
168 Arrow scaling with regard to scroll button size
169
170 'slider-width' (integer : default 14 : readable / private)
171 Width of scrollbar or scale thumb
172
173 'stepper-position-details' (boolean : default false : readable /
174 private)
175 When TRUE, the detail string for rendering the steppers is suffixed
176 with position information
177
178 'stepper-size' (integer : default 14 : readable / private)
179 Length of step buttons at ends
180
181 'stepper-spacing' (integer : default 0 : readable / private)
182 Spacing between step buttons and thumb
183
184 'trough-border' (integer : default 1 : readable / private)
185 Spacing between thumb/steppers and outer trough bevel
186
187 'trough-side-details' (boolean : default false : readable / private)
188 When TRUE, the parts of the trough on the two sides of the slider
189 are drawn with different details
190
191 'trough-under-steppers' (boolean : default true : readable / private)
192 Whether to draw trough for full length of range or exclude the
193 steppers and spacing
194
196 adjust-bounds (Gtk2::Range, double)
197 boolean = change-value (Gtk2::Range, Gtk2::ScrollType, double)
198 move-slider (Gtk2::Range, Gtk2::ScrollType)
199 value-changed (Gtk2::Range)
200
202 enum Gtk2::ScrollType
203 · 'none' / 'GTK_SCROLL_NONE'
204
205 · 'jump' / 'GTK_SCROLL_JUMP'
206
207 · 'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'
208
209 · 'step-forward' / 'GTK_SCROLL_STEP_FORWARD'
210
211 · 'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'
212
213 · 'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'
214
215 · 'step-up' / 'GTK_SCROLL_STEP_UP'
216
217 · 'step-down' / 'GTK_SCROLL_STEP_DOWN'
218
219 · 'page-up' / 'GTK_SCROLL_PAGE_UP'
220
221 · 'page-down' / 'GTK_SCROLL_PAGE_DOWN'
222
223 · 'step-left' / 'GTK_SCROLL_STEP_LEFT'
224
225 · 'step-right' / 'GTK_SCROLL_STEP_RIGHT'
226
227 · 'page-left' / 'GTK_SCROLL_PAGE_LEFT'
228
229 · 'page-right' / 'GTK_SCROLL_PAGE_RIGHT'
230
231 · 'start' / 'GTK_SCROLL_START'
232
233 · 'end' / 'GTK_SCROLL_END'
234
235 enum Gtk2::SensitivityType
236 · 'auto' / 'GTK_SENSITIVITY_AUTO'
237
238 · 'on' / 'GTK_SENSITIVITY_ON'
239
240 · 'off' / 'GTK_SENSITIVITY_OFF'
241
242 enum Gtk2::UpdateType
243 · 'continuous' / 'GTK_UPDATE_CONTINUOUS'
244
245 · 'discontinuous' / 'GTK_UPDATE_DISCONTINUOUS'
246
247 · 'delayed' / 'GTK_UPDATE_DELAYED'
248
250 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget
251
253 Copyright (C) 2003-2011 by the gtk2-perl team.
254
255 This software is licensed under the LGPL. See Gtk2 for a full notice.
256
257
258
259perl v5.30.0 2019-07-26 Gtk2::Range(3)