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 / static-nick / static-blurb)
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 / static-nick / static-blurb)
125 The fill level.
126
127 'inverted' (boolean : default false : readable / writable / private /
128 static-nick / static-blurb)
129 Invert direction slider moves to increase range value
130
131 'lower-stepper-sensitivity' (Gtk2::SensitivityType : default "auto" :
132 readable / writable / private / static-nick / static-blurb)
133 The sensitivity policy for the stepper that points to the
134 adjustment's lower side
135
136 'restrict-to-fill-level' (boolean : default true : readable / writable
137 / private / static-nick / static-blurb)
138 Whether to restrict the upper boundary to the fill level.
139
140 'round-digits' (integer : default -1 : readable / writable / private /
141 static-nick / static-blurb)
142 The number of digits to round the value to.
143
144 'show-fill-level' (boolean : default false : readable / writable /
145 private / static-nick / static-blurb)
146 Whether to display a fill level indicator graphics on trough.
147
148 'update-policy' (Gtk2::UpdateType : default "continuous" : readable /
149 writable / private / static-nick / static-blurb)
150 How the range should be updated on the screen
151
152 'upper-stepper-sensitivity' (Gtk2::SensitivityType : default "auto" :
153 readable / writable / private / static-nick / static-blurb)
154 The sensitivity policy for the stepper that points to the
155 adjustment's upper side
156
158 'activate-slider' (boolean : default false : readable / private /
159 static-nick / static-blurb)
160 With this option set to TRUE, sliders will be drawn ACTIVE and with
161 shadow IN while they are dragged
162
163 'arrow-displacement-x' (integer : default 0 : readable / private /
164 static-nick / static-blurb)
165 How far in the x direction to move the arrow when the button is
166 depressed
167
168 'arrow-displacement-y' (integer : default 0 : readable / private /
169 static-nick / static-blurb)
170 How far in the y direction to move the arrow when the button is
171 depressed
172
173 'arrow-scaling' (float : default 0.5 : readable / private / static-nick
174 / static-blurb)
175 Arrow scaling with regard to scroll button size
176
177 'slider-width' (integer : default 14 : readable / private / static-nick
178 / static-blurb)
179 Width of scrollbar or scale thumb
180
181 'stepper-position-details' (boolean : default false : readable /
182 private / static-nick / static-blurb)
183 When TRUE, the detail string for rendering the steppers is suffixed
184 with position information
185
186 'stepper-size' (integer : default 14 : readable / private / static-nick
187 / static-blurb)
188 Length of step buttons at ends
189
190 'stepper-spacing' (integer : default 0 : readable / private / static-
191 nick / static-blurb)
192 Spacing between step buttons and thumb
193
194 'trough-border' (integer : default 1 : readable / private / static-nick
195 / static-blurb)
196 Spacing between thumb/steppers and outer trough bevel
197
198 'trough-side-details' (boolean : default false : readable / private /
199 static-nick / static-blurb)
200 When TRUE, the parts of the trough on the two sides of the slider
201 are drawn with different details
202
203 'trough-under-steppers' (boolean : default true : readable / private /
204 static-nick / static-blurb)
205 Whether to draw trough for full length of range or exclude the
206 steppers and spacing
207
209 adjust-bounds (Gtk2::Range, double)
210 boolean = change-value (Gtk2::Range, Gtk2::ScrollType, double)
211 move-slider (Gtk2::Range, Gtk2::ScrollType)
212 value-changed (Gtk2::Range)
213
215 enum Gtk2::ScrollType
216 • 'none' / 'GTK_SCROLL_NONE'
217
218 • 'jump' / 'GTK_SCROLL_JUMP'
219
220 • 'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'
221
222 • 'step-forward' / 'GTK_SCROLL_STEP_FORWARD'
223
224 • 'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'
225
226 • 'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'
227
228 • 'step-up' / 'GTK_SCROLL_STEP_UP'
229
230 • 'step-down' / 'GTK_SCROLL_STEP_DOWN'
231
232 • 'page-up' / 'GTK_SCROLL_PAGE_UP'
233
234 • 'page-down' / 'GTK_SCROLL_PAGE_DOWN'
235
236 • 'step-left' / 'GTK_SCROLL_STEP_LEFT'
237
238 • 'step-right' / 'GTK_SCROLL_STEP_RIGHT'
239
240 • 'page-left' / 'GTK_SCROLL_PAGE_LEFT'
241
242 • 'page-right' / 'GTK_SCROLL_PAGE_RIGHT'
243
244 • 'start' / 'GTK_SCROLL_START'
245
246 • 'end' / 'GTK_SCROLL_END'
247
248 enum Gtk2::SensitivityType
249 • 'auto' / 'GTK_SENSITIVITY_AUTO'
250
251 • 'on' / 'GTK_SENSITIVITY_ON'
252
253 • 'off' / 'GTK_SENSITIVITY_OFF'
254
255 enum Gtk2::UpdateType
256 • 'continuous' / 'GTK_UPDATE_CONTINUOUS'
257
258 • 'discontinuous' / 'GTK_UPDATE_DISCONTINUOUS'
259
260 • 'delayed' / 'GTK_UPDATE_DELAYED'
261
263 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget
264
266 Copyright (C) 2003-2011 by the gtk2-perl team.
267
268 This software is licensed under the LGPL. See Gtk2 for a full notice.
269
270
271
272perl v5.36.0 2022-07-22 Gtk2::Range(3)