File: GtkRange.html

package info (click to toggle)
gtk%2B2.0 2.20.1-2%2Bdeb6u2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze-lts
  • size: 136,284 kB
  • ctags: 66,487
  • sloc: ansic: 590,318; sh: 10,559; makefile: 5,573; xml: 1,357; python: 866; perl: 776; asm: 457; awk: 72; cpp: 34
file content (1325 lines) | stat: -rw-r--r-- 86,600 bytes parent folder | download | duplicates (2)
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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>GtkRange</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GTK+ Reference Manual">
<link rel="up" href="AbstractObjects.html" title="Abstract Base Classes">
<link rel="prev" href="GtkPaned.html" title="GtkPaned">
<link rel="next" href="GtkScale.html" title="GtkScale">
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
<tr valign="middle">
<td><a accesskey="p" href="GtkPaned.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
<td><a accesskey="u" href="AbstractObjects.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
<th width="100%" align="center">GTK+ Reference Manual</th>
<td><a accesskey="n" href="GtkScale.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GtkRange.synopsis" class="shortcut">Top</a>
                   | 
                  <a href="#GtkRange.description" class="shortcut">Description</a>
                   | 
                  <a href="#GtkRange.object-hierarchy" class="shortcut">Object Hierarchy</a>
                   | 
                  <a href="#GtkRange.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
                   | 
                  <a href="#GtkRange.properties" class="shortcut">Properties</a>
                   | 
                  <a href="#GtkRange.style-properties" class="shortcut">Style Properties</a>
                   | 
                  <a href="#GtkRange.signals" class="shortcut">Signals</a>
</td></tr>
</table>
<div class="refentry" title="GtkRange">
<a name="GtkRange"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="GtkRange.top_of_page"></a>GtkRange</span></h2>
<p>GtkRange — Base class for widgets which visualize an adjustment</p>
</td>
<td valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="GtkRange.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
#include &lt;gtk/gtk.h&gt;

                    <a class="link" href="GtkRange.html#GtkRange-struct" title="GtkRange">GtkRange</a>;
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             <a class="link" href="GtkRange.html#gtk-range-get-fill-level" title="gtk_range_get_fill_level ()">gtk_range_get_fill_level</a>            (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkRange.html#gtk-range-get-restrict-to-fill-level" title="gtk_range_get_restrict_to_fill_level ()">gtk_range_get_restrict_to_fill_level</a>
                                                        (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkRange.html#gtk-range-get-show-fill-level" title="gtk_range_get_show_fill_level ()">gtk_range_get_show_fill_level</a>       (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkRange.html#gtk-range-set-fill-level" title="gtk_range_set_fill_level ()">gtk_range_set_fill_level</a>            (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> fill_level</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkRange.html#gtk-range-set-restrict-to-fill-level" title="gtk_range_set_restrict_to_fill_level ()">gtk_range_set_restrict_to_fill_level</a>
                                                        (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> restrict_to_fill_level</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkRange.html#gtk-range-set-show-fill-level" title="gtk_range_set_show_fill_level ()">gtk_range_set_show_fill_level</a>       (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_fill_level</code></em>);
<a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="returnvalue">GtkAdjustment</span></a>*      <a class="link" href="GtkRange.html#gtk-range-get-adjustment" title="gtk_range_get_adjustment ()">gtk_range_get_adjustment</a>            (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkRange.html#gtk-range-set-update-policy" title="gtk_range_set_update_policy ()">gtk_range_set_update_policy</a>         (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkUpdateType" title="enum GtkUpdateType"><span class="type">GtkUpdateType</span></a> policy</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkRange.html#gtk-range-set-adjustment" title="gtk_range_set_adjustment ()">gtk_range_set_adjustment</a>            (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *adjustment</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkRange.html#gtk-range-get-inverted" title="gtk_range_get_inverted ()">gtk_range_get_inverted</a>              (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkRange.html#gtk-range-set-inverted" title="gtk_range_set_inverted ()">gtk_range_set_inverted</a>              (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);
<a class="link" href="gtk-Standard-Enumerations.html#GtkUpdateType" title="enum GtkUpdateType"><span class="returnvalue">GtkUpdateType</span></a>       <a class="link" href="GtkRange.html#gtk-range-get-update-policy" title="gtk_range_get_update_policy ()">gtk_range_get_update_policy</a>         (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             <a class="link" href="GtkRange.html#gtk-range-get-value" title="gtk_range_get_value ()">gtk_range_get_value</a>                 (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkRange.html#gtk-range-set-increments" title="gtk_range_set_increments ()">gtk_range_set_increments</a>            (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> step</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> page</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkRange.html#gtk-range-set-range" title="gtk_range_set_range ()">gtk_range_set_range</a>                 (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> min</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> max</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkRange.html#gtk-range-set-value" title="gtk_range_set_value ()">gtk_range_set_value</a>                 (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> value</code></em>);
enum                <a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType">GtkSensitivityType</a>;
<span class="returnvalue">void</span>                <a class="link" href="GtkRange.html#gtk-range-set-lower-stepper-sensitivity" title="gtk_range_set_lower_stepper_sensitivity ()">gtk_range_set_lower_stepper_sensitivity</a>
                                                        (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a> sensitivity</code></em>);
<a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="returnvalue">GtkSensitivityType</span></a>  <a class="link" href="GtkRange.html#gtk-range-get-lower-stepper-sensitivity" title="gtk_range_get_lower_stepper_sensitivity ()">gtk_range_get_lower_stepper_sensitivity</a>
                                                        (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkRange.html#gtk-range-set-upper-stepper-sensitivity" title="gtk_range_set_upper_stepper_sensitivity ()">gtk_range_set_upper_stepper_sensitivity</a>
                                                        (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a> sensitivity</code></em>);
<a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="returnvalue">GtkSensitivityType</span></a>  <a class="link" href="GtkRange.html#gtk-range-get-upper-stepper-sensitivity" title="gtk_range_get_upper_stepper_sensitivity ()">gtk_range_get_upper_stepper_sensitivity</a>
                                                        (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkRange.html#gtk-range-get-flippable" title="gtk_range_get_flippable ()">gtk_range_get_flippable</a>             (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkRange.html#gtk-range-set-flippable" title="gtk_range_set_flippable ()">gtk_range_set_flippable</a>             (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> flippable</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                <a class="link" href="GtkRange.html#gtk-range-get-min-slider-size" title="gtk_range_get_min_slider_size ()">gtk_range_get_min_slider_size</a>       (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkRange.html#gtk-range-get-range-rect" title="gtk_range_get_range_rect ()">gtk_range_get_range_rect</a>            (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *range_rect</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkRange.html#gtk-range-get-slider-range" title="gtk_range_get_slider_range ()">gtk_range_get_slider_range</a>          (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *slider_start</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *slider_end</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            <a class="link" href="GtkRange.html#gtk-range-get-slider-size-fixed" title="gtk_range_get_slider_size_fixed ()">gtk_range_get_slider_size_fixed</a>     (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkRange.html#gtk-range-set-min-slider-size" title="gtk_range_set_min_slider_size ()">gtk_range_set_min_slider_size</a>       (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> min_size</code></em>);
<span class="returnvalue">void</span>                <a class="link" href="GtkRange.html#gtk-range-set-slider-size-fixed" title="gtk_range_set_slider_size_fixed ()">gtk_range_set_slider_size_fixed</a>     (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> size_fixed</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="GtkRange.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
  <a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
   +----<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
         +----<a class="link" href="GtkObject.html" title="GtkObject">GtkObject</a>
               +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
                     +----GtkRange
                           +----<a class="link" href="GtkScale.html" title="GtkScale">GtkScale</a>
                           +----<a class="link" href="GtkScrollbar.html" title="GtkScrollbar">GtkScrollbar</a>
</pre>
</div>
<div class="refsect1" title="Implemented Interfaces">
<a name="GtkRange.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
<p>
GtkRange implements
 AtkImplementorIface,  <a class="link" href="gtk-gtkbuildable.html#GtkBuildable">GtkBuildable</a> and  <a class="link" href="gtk-Orientable.html#GtkOrientable">GtkOrientable</a>.</p>
</div>
<div class="refsect1" title="Properties">
<a name="GtkRange.properties"></a><h2>Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GtkRange.html#GtkRange--adjustment" title='The "adjustment" property'>adjustment</a>"               <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>*        : Read / Write / Construct
  "<a class="link" href="GtkRange.html#GtkRange--fill-level" title='The "fill-level" property'>fill-level</a>"               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write
  "<a class="link" href="GtkRange.html#GtkRange--inverted" title='The "inverted" property'>inverted</a>"                 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkRange.html#GtkRange--lower-stepper-sensitivity" title='The "lower-stepper-sensitivity" property'>lower-stepper-sensitivity</a>" <a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a>    : Read / Write
  "<a class="link" href="GtkRange.html#GtkRange--restrict-to-fill-level" title='The "restrict-to-fill-level" property'>restrict-to-fill-level</a>"   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkRange.html#GtkRange--show-fill-level" title='The "show-fill-level" property'>show-fill-level</a>"          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write
  "<a class="link" href="GtkRange.html#GtkRange--update-policy" title='The "update-policy" property'>update-policy</a>"            <a class="link" href="gtk-Standard-Enumerations.html#GtkUpdateType" title="enum GtkUpdateType"><span class="type">GtkUpdateType</span></a>         : Read / Write
  "<a class="link" href="GtkRange.html#GtkRange--upper-stepper-sensitivity" title='The "upper-stepper-sensitivity" property'>upper-stepper-sensitivity</a>" <a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a>    : Read / Write
</pre>
</div>
<div class="refsect1" title="Style Properties">
<a name="GtkRange.style-properties"></a><h2>Style Properties</h2>
<pre class="synopsis">
  "<a class="link" href="GtkRange.html#GtkRange--s-activate-slider" title='The "activate-slider" style property'>activate-slider</a>"          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-arrow-displacement-x" title='The "arrow-displacement-x" style property'>arrow-displacement-x</a>"     <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-arrow-displacement-y" title='The "arrow-displacement-y" style property'>arrow-displacement-y</a>"     <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-arrow-scaling" title='The "arrow-scaling" style property'>arrow-scaling</a>"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-slider-width" title='The "slider-width" style property'>slider-width</a>"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-stepper-size" title='The "stepper-size" style property'>stepper-size</a>"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-stepper-spacing" title='The "stepper-spacing" style property'>stepper-spacing</a>"          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-trough-border" title='The "trough-border" style property'>trough-border</a>"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-trough-side-details" title='The "trough-side-details" style property'>trough-side-details</a>"      <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read
  "<a class="link" href="GtkRange.html#GtkRange--s-trough-under-steppers" title='The "trough-under-steppers" style property'>trough-under-steppers</a>"    <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read
</pre>
</div>
<div class="refsect1" title="Signals">
<a name="GtkRange.signals"></a><h2>Signals</h2>
<pre class="synopsis">
  "<a class="link" href="GtkRange.html#GtkRange-adjust-bounds" title='The "adjust-bounds" signal'>adjust-bounds</a>"                                  : Run Last
  "<a class="link" href="GtkRange.html#GtkRange-change-value" title='The "change-value" signal'>change-value</a>"                                   : Run Last
  "<a class="link" href="GtkRange.html#GtkRange-move-slider" title='The "move-slider" signal'>move-slider</a>"                                    : Run Last / Action
  "<a class="link" href="GtkRange.html#GtkRange-value-changed" title='The "value-changed" signal'>value-changed</a>"                                  : Run Last
</pre>
</div>
<div class="refsect1" title="Description">
<a name="GtkRange.description"></a><h2>Description</h2>
<p>
<a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> is the common base class for widgets which visualize an
adjustment, e.g scales or scrollbars.
</p>
<p>
Apart from signals for monitoring the parameters of the adjustment,
GtkRange provides properties and methods for influencing the sensitivity
of the "steppers". It also provides properties and methods for setting a
"fill level" on range widgets. See <a class="link" href="GtkRange.html#gtk-range-set-fill-level" title="gtk_range_set_fill_level ()"><code class="function">gtk_range_set_fill_level()</code></a>.
</p>
</div>
<div class="refsect1" title="Details">
<a name="GtkRange.details"></a><h2>Details</h2>
<div class="refsect2" title="GtkRange">
<a name="GtkRange-struct"></a><h3>GtkRange</h3>
<pre class="programlisting">typedef struct _GtkRange GtkRange;</pre>
<p>
</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_get_fill_level ()">
<a name="gtk-range-get-fill-level"></a><h3>gtk_range_get_fill_level ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             gtk_range_get_fill_level            (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets the current position of the fill level indicator.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>A <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The current fill level

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_get_restrict_to_fill_level ()">
<a name="gtk-range-get-restrict-to-fill-level"></a><h3>gtk_range_get_restrict_to_fill_level ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_range_get_restrict_to_fill_level
                                                        (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets whether the range is restricted to the fill level.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>A <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>range</code></em> is restricted to the fill level.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_get_show_fill_level ()">
<a name="gtk-range-get-show-fill-level"></a><h3>gtk_range_get_show_fill_level ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_range_get_show_fill_level       (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets whether the range displays the fill level graphically.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>A <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>range</code></em> shows the fill level.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_set_fill_level ()">
<a name="gtk-range-set-fill-level"></a><h3>gtk_range_set_fill_level ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_fill_level            (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> fill_level</code></em>);</pre>
<p>
Set the new position of the fill level indicator.
</p>
<p>
The "fill level" is probably best described by its most prominent
use case, which is an indicator for the amount of pre-buffering in
a streaming media player. In that use case, the value of the range
would indicate the current play position, and the fill level would
be the position up to which the file/stream has been downloaded.
</p>
<p>
This amount of prebuffering can be displayed on the range's trough
and is themeable separately from the trough. To enable fill level
display, use <a class="link" href="GtkRange.html#gtk-range-set-show-fill-level" title="gtk_range_set_show_fill_level ()"><code class="function">gtk_range_set_show_fill_level()</code></a>. The range defaults
to not showing the fill level.
</p>
<p>
Additionally, it's possible to restrict the range's slider position
to values which are smaller than the fill level. This is controller
by <a class="link" href="GtkRange.html#gtk-range-set-restrict-to-fill-level" title="gtk_range_set_restrict_to_fill_level ()"><code class="function">gtk_range_set_restrict_to_fill_level()</code></a> and is by default
enabled.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>fill_level</code></em> :</span></p></td>
<td>the new position of the fill level indicator
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_set_restrict_to_fill_level ()">
<a name="gtk-range-set-restrict-to-fill-level"></a><h3>gtk_range_set_restrict_to_fill_level ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_restrict_to_fill_level
                                                        (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> restrict_to_fill_level</code></em>);</pre>
<p>
Sets whether the slider is restricted to the fill level. See
<a class="link" href="GtkRange.html#gtk-range-set-fill-level" title="gtk_range_set_fill_level ()"><code class="function">gtk_range_set_fill_level()</code></a> for a general description of the fill
level concept.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>A <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>restrict_to_fill_level</code></em> :</span></p></td>
<td>Whether the fill level restricts slider movement.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_set_show_fill_level ()">
<a name="gtk-range-set-show-fill-level"></a><h3>gtk_range_set_show_fill_level ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_show_fill_level       (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> show_fill_level</code></em>);</pre>
<p>
Sets whether a graphical fill level is show on the trough. See
<a class="link" href="GtkRange.html#gtk-range-set-fill-level" title="gtk_range_set_fill_level ()"><code class="function">gtk_range_set_fill_level()</code></a> for a general description of the fill
level concept.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>A <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>show_fill_level</code></em> :</span></p></td>
<td>Whether a fill level indicator graphics is shown.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_get_adjustment ()">
<a name="gtk-range-get-adjustment"></a><h3>gtk_range_get_adjustment ()</h3>
<pre class="programlisting"><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="returnvalue">GtkAdjustment</span></a>*      gtk_range_get_adjustment            (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Get the <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> which is the "model" object for <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>.
See <a class="link" href="GtkRange.html#gtk-range-set-adjustment" title="gtk_range_set_adjustment ()"><code class="function">gtk_range_set_adjustment()</code></a> for details.
The return value does not have a reference added, so should not
be unreferenced.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_range_set_update_policy ()">
<a name="gtk-range-set-update-policy"></a><h3>gtk_range_set_update_policy ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_update_policy         (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a class="link" href="gtk-Standard-Enumerations.html#GtkUpdateType" title="enum GtkUpdateType"><span class="type">GtkUpdateType</span></a> policy</code></em>);</pre>
<p>
Sets the update policy for the range. <a class="link" href="gtk-Standard-Enumerations.html#GTK-UPDATE-CONTINUOUS:CAPS"><span class="type">GTK_UPDATE_CONTINUOUS</span></a> means that
anytime the range slider is moved, the range value will change and the
value_changed signal will be emitted. <a class="link" href="gtk-Standard-Enumerations.html#GTK-UPDATE-DELAYED:CAPS"><span class="type">GTK_UPDATE_DELAYED</span></a> means that
the value will be updated after a brief timeout where no slider motion
occurs, so updates are spaced by a short time rather than
continuous. <a class="link" href="gtk-Standard-Enumerations.html#GTK-UPDATE-DISCONTINUOUS:CAPS"><span class="type">GTK_UPDATE_DISCONTINUOUS</span></a> means that the value will only
be updated when the user releases the button and ends the slider
drag operation.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>policy</code></em> :</span></p></td>
<td>update policy
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_range_set_adjustment ()">
<a name="gtk-range-set-adjustment"></a><h3>gtk_range_set_adjustment ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_adjustment            (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a> *adjustment</code></em>);</pre>
<p>
Sets the adjustment to be used as the "model" object for this range
widget. The adjustment indicates the current range value, the
minimum and maximum range values, the step/page increments used
for keybindings and scrolling, and the page size. The page size
is normally 0 for <a class="link" href="GtkScale.html" title="GtkScale"><span class="type">GtkScale</span></a> and nonzero for <a class="link" href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a>, and
indicates the size of the visible area of the widget being scrolled.
The page size affects the size of the scrollbar slider.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>adjustment</code></em> :</span></p></td>
<td>a <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_range_get_inverted ()">
<a name="gtk-range-get-inverted"></a><h3>gtk_range_get_inverted ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_range_get_inverted              (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets the value set by <a class="link" href="GtkRange.html#gtk-range-set-inverted" title="gtk_range_set_inverted ()"><code class="function">gtk_range_set_inverted()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the range is inverted
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_range_set_inverted ()">
<a name="gtk-range-set-inverted"></a><h3>gtk_range_set_inverted ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_inverted              (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre>
<p>
Ranges normally move from lower to higher values as the
slider moves from top to bottom or left to right. Inverted
ranges have higher values at the top or on the right rather than
on the bottom or left.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to invert the range
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_range_get_update_policy ()">
<a name="gtk-range-get-update-policy"></a><h3>gtk_range_get_update_policy ()</h3>
<pre class="programlisting"><a class="link" href="gtk-Standard-Enumerations.html#GtkUpdateType" title="enum GtkUpdateType"><span class="returnvalue">GtkUpdateType</span></a>       gtk_range_get_update_policy         (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets the update policy of <em class="parameter"><code>range</code></em>. See <a class="link" href="GtkRange.html#gtk-range-set-update-policy" title="gtk_range_set_update_policy ()"><code class="function">gtk_range_set_update_policy()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the current update policy
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_range_get_value ()">
<a name="gtk-range-get-value"></a><h3>gtk_range_get_value ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="returnvalue">gdouble</span></a>             gtk_range_get_value                 (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets the current value of the range.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> current value of the range.
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_range_set_increments ()">
<a name="gtk-range-set-increments"></a><h3>gtk_range_set_increments ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_increments            (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> step</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> page</code></em>);</pre>
<p>
Sets the step and page sizes for the range.
The step size is used when the user clicks the <a class="link" href="GtkScrollbar.html" title="GtkScrollbar"><span class="type">GtkScrollbar</span></a>
arrows or moves <a class="link" href="GtkScale.html" title="GtkScale"><span class="type">GtkScale</span></a> via arrow keys. The page size
is used for example when moving via Page Up or Page Down keys.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>step</code></em> :</span></p></td>
<td>step size
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>page</code></em> :</span></p></td>
<td>page size
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_range_set_range ()">
<a name="gtk-range-set-range"></a><h3>gtk_range_set_range ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_range                 (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> min</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> max</code></em>);</pre>
<p>
Sets the allowable values in the <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>, and clamps the range
value to be between <em class="parameter"><code>min</code></em> and <em class="parameter"><code>max</code></em>. (If the range has a non-zero
page size, it is clamped between <em class="parameter"><code>min</code></em> and <em class="parameter"><code>max</code></em> - page-size.)
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min</code></em> :</span></p></td>
<td>minimum range value
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>max</code></em> :</span></p></td>
<td>maximum range value
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_range_set_value ()">
<a name="gtk-range-set-value"></a><h3>gtk_range_set_value ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_value                 (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a> value</code></em>);</pre>
<p>
Sets the current value of the range; if the value is outside the
minimum or maximum range values, it will be clamped to fit inside
them. The range emits the <a class="link" href="GtkRange.html#GtkRange-value-changed" title='The "value-changed" signal'><span class="type">"value-changed"</span></a> signal if the 
value changes.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td>new value of the range
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="enum GtkSensitivityType">
<a name="GtkSensitivityType"></a><h3>enum GtkSensitivityType</h3>
<pre class="programlisting">typedef enum
{
  GTK_SENSITIVITY_AUTO,
  GTK_SENSITIVITY_ON,
  GTK_SENSITIVITY_OFF
} GtkSensitivityType;
</pre>
<p>
Determines how GTK+ handles the sensitivity of stepper arrows
at the end of range widgets.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GTK-SENSITIVITY-AUTO:CAPS"></a><span class="term"><code class="literal">GTK_SENSITIVITY_AUTO</code></span></p></td>
<td>The arrow is made insensitive if the
   thumb is at the end
</td>
</tr>
<tr>
<td><p><a name="GTK-SENSITIVITY-ON:CAPS"></a><span class="term"><code class="literal">GTK_SENSITIVITY_ON</code></span></p></td>
<td>The arrow is always sensitive
</td>
</tr>
<tr>
<td><p><a name="GTK-SENSITIVITY-OFF:CAPS"></a><span class="term"><code class="literal">GTK_SENSITIVITY_OFF</code></span></p></td>
<td>The arrow is always insensitive
</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title="gtk_range_set_lower_stepper_sensitivity ()">
<a name="gtk-range-set-lower-stepper-sensitivity"></a><h3>gtk_range_set_lower_stepper_sensitivity ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_lower_stepper_sensitivity
                                                        (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a> sensitivity</code></em>);</pre>
<p>
Sets the sensitivity policy for the stepper that points to the
'lower' end of the GtkRange's adjustment.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>sensitivity</code></em> :</span></p></td>
<td>the lower stepper's sensitivity policy.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_get_lower_stepper_sensitivity ()">
<a name="gtk-range-get-lower-stepper-sensitivity"></a><h3>gtk_range_get_lower_stepper_sensitivity ()</h3>
<pre class="programlisting"><a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="returnvalue">GtkSensitivityType</span></a>  gtk_range_get_lower_stepper_sensitivity
                                                        (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets the sensitivity policy for the stepper that points to the
'lower' end of the GtkRange's adjustment.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The lower stepper's sensitivity policy.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_set_upper_stepper_sensitivity ()">
<a name="gtk-range-set-upper-stepper-sensitivity"></a><h3>gtk_range_set_upper_stepper_sensitivity ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_upper_stepper_sensitivity
                                                        (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a> sensitivity</code></em>);</pre>
<p>
Sets the sensitivity policy for the stepper that points to the
'upper' end of the GtkRange's adjustment.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>sensitivity</code></em> :</span></p></td>
<td>the upper stepper's sensitivity policy.
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_get_upper_stepper_sensitivity ()">
<a name="gtk-range-get-upper-stepper-sensitivity"></a><h3>gtk_range_get_upper_stepper_sensitivity ()</h3>
<pre class="programlisting"><a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="returnvalue">GtkSensitivityType</span></a>  gtk_range_get_upper_stepper_sensitivity
                                                        (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets the sensitivity policy for the stepper that points to the
'upper' end of the GtkRange's adjustment.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The upper stepper's sensitivity policy.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_get_flippable ()">
<a name="gtk-range-get-flippable"></a><h3>gtk_range_get_flippable ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_range_get_flippable             (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
Gets the value set by <a class="link" href="GtkRange.html#gtk-range-set-flippable" title="gtk_range_set_flippable ()"><code class="function">gtk_range_set_flippable()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the range is flippable

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.18</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_set_flippable ()">
<a name="gtk-range-set-flippable"></a><h3>gtk_range_set_flippable ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_flippable             (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> flippable</code></em>);</pre>
<p>
If a range is flippable, it will switch its direction if it is
horizontal and its direction is <code class="literal">GTK_TEXT_DIR_RTL</code>.
</p>
<p>
See <a class="link" href="GtkWidget.html#gtk-widget-get-direction" title="gtk_widget_get_direction ()"><code class="function">gtk_widget_get_direction()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>flippable</code></em> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to make the range flippable
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.18</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_get_min_slider_size ()">
<a name="gtk-range-get-min-slider-size"></a><h3>gtk_range_get_min_slider_size ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>                gtk_range_get_min_slider_size       (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
This function is useful mainly for <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> subclasses.
</p>
<p>
See <a class="link" href="GtkRange.html#gtk-range-set-min-slider-size" title="gtk_range_set_min_slider_size ()"><code class="function">gtk_range_set_min_slider_size()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The minimum size of the range's slider.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_get_range_rect ()">
<a name="gtk-range-get-range-rect"></a><h3>gtk_range_get_range_rect ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_get_range_rect            (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="http://library.gnome.org/devel/gdk/unstable/gdk-Points-Rectangles-and-Regions.html#GdkRectangle"><span class="type">GdkRectangle</span></a> *range_rect</code></em>);</pre>
<p>
This function returns the area that contains the range's trough
and its steppers, in widget-&gt;window coordinates.
</p>
<p>
This function is useful mainly for <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> subclasses.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>range_rect</code></em> :</span></p></td>
<td>return location for the range rectangle
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_get_slider_range ()">
<a name="gtk-range-get-slider-range"></a><h3>gtk_range_get_slider_range ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_get_slider_range          (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *slider_start</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *slider_end</code></em>);</pre>
<p>
This function returns sliders range along the long dimension,
in widget-&gt;window coordinates.
</p>
<p>
This function is useful mainly for <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> subclasses.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>slider_start</code></em> :</span></p></td>
<td> return location for the slider's start, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>slider_end</code></em> :</span></p></td>
<td> return location for the slider's end, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_get_slider_size_fixed ()">
<a name="gtk-range-get-slider-size-fixed"></a><h3>gtk_range_get_slider_size_fixed ()</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            gtk_range_get_slider_size_fixed     (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>);</pre>
<p>
This function is useful mainly for <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> subclasses.
</p>
<p>
See <a class="link" href="GtkRange.html#gtk-range-set-slider-size-fixed" title="gtk_range_set_slider_size_fixed ()"><code class="function">gtk_range_set_slider_size_fixed()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> whether the range's slider has a fixed size.

</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_set_min_slider_size ()">
<a name="gtk-range-set-min-slider-size"></a><h3>gtk_range_set_min_slider_size ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_min_slider_size       (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> min_size</code></em>);</pre>
<p>
Sets the minimum size of the range's slider.
</p>
<p>
This function is useful mainly for <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> subclasses.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>min_size</code></em> :</span></p></td>
<td>The slider's minimum size
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
<hr>
<div class="refsect2" title="gtk_range_set_slider_size_fixed ()">
<a name="gtk-range-set-slider-size-fixed"></a><h3>gtk_range_set_slider_size_fixed ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                gtk_range_set_slider_size_fixed     (<em class="parameter"><code><a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range</code></em>,
                                                         <em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> size_fixed</code></em>);</pre>
<p>
Sets whether the range's slider has a fixed size, or a size that
depends on it's adjustment's page size.
</p>
<p>
This function is useful mainly for <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> subclasses.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>a <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size_fixed</code></em> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to make the slider size constant
</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.20</p>
</div>
</div>
<div class="refsect1" title="Property Details">
<a name="GtkRange.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "adjustment" property'>
<a name="GtkRange--adjustment"></a><h3>The <code class="literal">"adjustment"</code> property</h3>
<pre class="programlisting">  "adjustment"               <a class="link" href="GtkAdjustment.html" title="GtkAdjustment"><span class="type">GtkAdjustment</span></a>*        : Read / Write / Construct</pre>
<p>The GtkAdjustment that contains the current value of this range object.</p>
</div>
<hr>
<div class="refsect2" title='The "fill-level" property'>
<a name="GtkRange--fill-level"></a><h3>The <code class="literal">"fill-level"</code> property</h3>
<pre class="programlisting">  "fill-level"               <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>               : Read / Write</pre>
<p>
The fill level (e.g. prebuffering of a network stream).
See <a class="link" href="GtkRange.html#gtk-range-set-fill-level" title="gtk_range_set_fill_level ()"><code class="function">gtk_range_set_fill_level()</code></a>.
</p>
<p>Default value: 1.79769e+308</p>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" title='The "inverted" property'>
<a name="GtkRange--inverted"></a><h3>The <code class="literal">"inverted"</code> property</h3>
<pre class="programlisting">  "inverted"                 <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>Invert direction slider moves to increase range value.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" title='The "lower-stepper-sensitivity" property'>
<a name="GtkRange--lower-stepper-sensitivity"></a><h3>The <code class="literal">"lower-stepper-sensitivity"</code> property</h3>
<pre class="programlisting">  "lower-stepper-sensitivity" <a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a>    : Read / Write</pre>
<p>The sensitivity policy for the stepper that points to the adjustment's lower side.</p>
<p>Default value: GTK_SENSITIVITY_AUTO</p>
</div>
<hr>
<div class="refsect2" title='The "restrict-to-fill-level" property'>
<a name="GtkRange--restrict-to-fill-level"></a><h3>The <code class="literal">"restrict-to-fill-level"</code> property</h3>
<pre class="programlisting">  "restrict-to-fill-level"   <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
The restrict-to-fill-level property controls whether slider
movement is restricted to an upper boundary set by the
fill level. See <a class="link" href="GtkRange.html#gtk-range-set-restrict-to-fill-level" title="gtk_range_set_restrict_to_fill_level ()"><code class="function">gtk_range_set_restrict_to_fill_level()</code></a>.
</p>
<p>Default value: TRUE</p>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" title='The "show-fill-level" property'>
<a name="GtkRange--show-fill-level"></a><h3>The <code class="literal">"show-fill-level"</code> property</h3>
<pre class="programlisting">  "show-fill-level"          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read / Write</pre>
<p>
The show-fill-level property controls whether fill level indicator
graphics are displayed on the trough. See
<a class="link" href="GtkRange.html#gtk-range-set-show-fill-level" title="gtk_range_set_show_fill_level ()"><code class="function">gtk_range_set_show_fill_level()</code></a>.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 2.12</p>
</div>
<hr>
<div class="refsect2" title='The "update-policy" property'>
<a name="GtkRange--update-policy"></a><h3>The <code class="literal">"update-policy"</code> property</h3>
<pre class="programlisting">  "update-policy"            <a class="link" href="gtk-Standard-Enumerations.html#GtkUpdateType" title="enum GtkUpdateType"><span class="type">GtkUpdateType</span></a>         : Read / Write</pre>
<p>How the range should be updated on the screen.</p>
<p>Default value: GTK_UPDATE_CONTINUOUS</p>
</div>
<hr>
<div class="refsect2" title='The "upper-stepper-sensitivity" property'>
<a name="GtkRange--upper-stepper-sensitivity"></a><h3>The <code class="literal">"upper-stepper-sensitivity"</code> property</h3>
<pre class="programlisting">  "upper-stepper-sensitivity" <a class="link" href="GtkRange.html#GtkSensitivityType" title="enum GtkSensitivityType"><span class="type">GtkSensitivityType</span></a>    : Read / Write</pre>
<p>The sensitivity policy for the stepper that points to the adjustment's upper side.</p>
<p>Default value: GTK_SENSITIVITY_AUTO</p>
</div>
</div>
<div class="refsect1" title="Style Property Details">
<a name="GtkRange.style-property-details"></a><h2>Style Property Details</h2>
<div class="refsect2" title='The "activate-slider" style property'>
<a name="GtkRange--s-activate-slider"></a><h3>The <code class="literal">"activate-slider"</code> style property</h3>
<pre class="programlisting">  "activate-slider"          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read</pre>
<p>With this option set to TRUE, sliders will be drawn ACTIVE and with shadow IN while they are dragged.</p>
<p>Default value: FALSE</p>
</div>
<hr>
<div class="refsect2" title='The "arrow-displacement-x" style property'>
<a name="GtkRange--s-arrow-displacement-x"></a><h3>The <code class="literal">"arrow-displacement-x"</code> style property</h3>
<pre class="programlisting">  "arrow-displacement-x"     <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read</pre>
<p>How far in the x direction to move the arrow when the button is depressed.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" title='The "arrow-displacement-y" style property'>
<a name="GtkRange--s-arrow-displacement-y"></a><h3>The <code class="literal">"arrow-displacement-y"</code> style property</h3>
<pre class="programlisting">  "arrow-displacement-y"     <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read</pre>
<p>How far in the y direction to move the arrow when the button is depressed.</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" title='The "arrow-scaling" style property'>
<a name="GtkRange--s-arrow-scaling"></a><h3>The <code class="literal">"arrow-scaling"</code> style property</h3>
<pre class="programlisting">  "arrow-scaling"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gfloat"><span class="type">gfloat</span></a>                : Read</pre>
<p>
The arrow size proportion relative to the scroll button size.
</p>
<p>Allowed values: [0,1]</p>
<p>Default value: 0.5</p>
<p class="since">Since 2.14</p>
</div>
<hr>
<div class="refsect2" title='The "slider-width" style property'>
<a name="GtkRange--s-slider-width"></a><h3>The <code class="literal">"slider-width"</code> style property</h3>
<pre class="programlisting">  "slider-width"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read</pre>
<p>Width of scrollbar or scale thumb.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 14</p>
</div>
<hr>
<div class="refsect2" title='The "stepper-size" style property'>
<a name="GtkRange--s-stepper-size"></a><h3>The <code class="literal">"stepper-size"</code> style property</h3>
<pre class="programlisting">  "stepper-size"             <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read</pre>
<p>Length of step buttons at ends.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 14</p>
</div>
<hr>
<div class="refsect2" title='The "stepper-spacing" style property'>
<a name="GtkRange--s-stepper-spacing"></a><h3>The <code class="literal">"stepper-spacing"</code> style property</h3>
<pre class="programlisting">  "stepper-spacing"          <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read</pre>
<p>
The spacing between the stepper buttons and thumb. Note that
setting this value to anything &gt; 0 will automatically set the
trough-under-steppers style property to <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> as well. Also,
stepper-spacing won't have any effect if there are no steppers.
</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
</div>
<hr>
<div class="refsect2" title='The "trough-border" style property'>
<a name="GtkRange--s-trough-border"></a><h3>The <code class="literal">"trough-border"</code> style property</h3>
<pre class="programlisting">  "trough-border"            <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a>                  : Read</pre>
<p>Spacing between thumb/steppers and outer trough bevel.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 1</p>
</div>
<hr>
<div class="refsect2" title='The "trough-side-details" style property'>
<a name="GtkRange--s-trough-side-details"></a><h3>The <code class="literal">"trough-side-details"</code> style property</h3>
<pre class="programlisting">  "trough-side-details"      <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read</pre>
<p>
When <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the parts of the trough on the two sides of the
slider are drawn with different details.
</p>
<p>Default value: FALSE</p>
<p class="since">Since 2.10</p>
</div>
<hr>
<div class="refsect2" title='The "trough-under-steppers" style property'>
<a name="GtkRange--s-trough-under-steppers"></a><h3>The <code class="literal">"trough-under-steppers"</code> style property</h3>
<pre class="programlisting">  "trough-under-steppers"    <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a>              : Read</pre>
<p>
Whether to draw the trough across the full length of the range or
to exclude the steppers and their spacing. Note that setting the
<span class="type">"stepper-spacing"</span> style property to any value &gt; 0 will
automatically enable trough-under-steppers too.
</p>
<p>Default value: TRUE</p>
<p class="since">Since 2.10</p>
</div>
</div>
<div class="refsect1" title="Signal Details">
<a name="GtkRange.signal-details"></a><h2>Signal Details</h2>
<div class="refsect2" title='The "adjust-bounds" signal'>
<a name="GtkRange-adjust-bounds"></a><h3>The <code class="literal">"adjust-bounds"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range,
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>   arg1,
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>  user_data)      : Run Last</pre>
<p>
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>the object which received the signal.
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>arg1</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "change-value" signal'>
<a name="GtkRange-change-value"></a><h3>The <code class="literal">"change-value"</code> signal</h3>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>            user_function                      (<a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>     *range,
                                                        <a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> scroll,
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gdouble"><span class="type">gdouble</span></a>       value,
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>      user_data)      : Run Last</pre>
<p>
The ::change-value signal is emitted when a scroll action is
performed on a range.  It allows an application to determine the
type of scroll event that occurred and the resultant new value.
The application can handle the event itself and return <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to
prevent further processing.  Or, by returning <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, it can pass
the event to other handlers until the default GTK+ handler is
reached.
</p>
<p>
The value parameter is unrounded.  An application that overrides
the ::change-value signal is responsible for clamping the value to
the desired number of decimal digits; the default GTK+ handler
clamps the value based on <em class="parameter"><code>range-&gt;round_digits</code></em>.
</p>
<p>
It is not possible to use delayed update policies in an overridden
::change-value handler.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>the range that received the signal
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>scroll</code></em> :</span></p></td>
<td>the type of scroll action that was performed
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>value</code></em> :</span></p></td>
<td>the new value resulting from the scroll action
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>returns</code></em> :</span></p></td>
<td>
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> to prevent other handlers from being invoked for the
signal, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> to propagate the signal further
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
<p class="since">Since 2.6</p>
</div>
<hr>
<div class="refsect2" title='The "move-slider" signal'>
<a name="GtkRange-move-slider"></a><h3>The <code class="literal">"move-slider"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>     *range,
                                                        <a class="link" href="gtk-Standard-Enumerations.html#GtkScrollType" title="enum GtkScrollType"><span class="type">GtkScrollType</span></a> step,
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>      user_data)      : Run Last / Action</pre>
<p>
Virtual function that moves the slider. Used for keybindings.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>the <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>step</code></em> :</span></p></td>
<td>how to move the slider
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
<hr>
<div class="refsect2" title='The "value-changed" signal'>
<a name="GtkRange-value-changed"></a><h3>The <code class="literal">"value-changed"</code> signal</h3>
<pre class="programlisting"><span class="returnvalue">void</span>                user_function                      (<a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a> *range,
                                                        <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a>  user_data)      : Run Last</pre>
<p>
Emitted when the range value changes.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>range</code></em> :</span></p></td>
<td>the <a class="link" href="GtkRange.html" title="GtkRange"><span class="type">GtkRange</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td>
<td>user data set when the signal handler was connected.</td>
</tr>
</tbody>
</table></div>
</div>
</div>
</div>
<div class="footer">
<hr>
          Generated by GTK-Doc V1.14</div>
</body>
</html>