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
|
<?xml version="1.0" standalone="no"?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="class-gtksettings">
<refnamediv>
<refname>gtk.Settings</refname>
<refpurpose>an object that contains the global settings for the
widgets on a <link
linkend="class-gdkscreen"><classname>gtk.gdk.Screen</classname></link></refpurpose>
</refnamediv>
<refsect1>
<title>Synopsis</title>
<classsynopsis language="python">
<ooclass><classname>gtk.Settings</classname></ooclass>
<ooclass><classname><link
linkend="class-gobject">gobject.GObject</link></classname></ooclass>
<!-- NOT IMPLEMENTED
<methodsynopsis language="python">
<methodname><link linkend="method-gtksettings- -install-property">install_property</link></methodname>
<methodparam><parameter role="keyword">pspec</parameter></methodparam>
</methodsynopsis>
<methodsynopsis language="python">
<methodname><link linkend="method-gtksettings- -install-property-parser">install_property_parser</link></methodname>
<methodparam><parameter role="keyword">pspec</parameter></methodparam>
<methodparam><parameter role="keyword">parser</parameter></methodparam>
</methodsynopsis>
<methodsynopsis language="python">
<methodname><link linkend="method-gtksettings- -set-property-value">set_property_value</link></methodname>
<methodparam><parameter role="keyword">name</parameter></methodparam>
<methodparam><parameter role="keyword">svalue</parameter></methodparam>
</methodsynopsis>
END NOT IMPLEMENTED -->
<methodsynopsis language="python">
<methodname><link
linkend="method-gtksettings--set-string-property">set_string_property</link></methodname>
<methodparam><parameter
role="keyword">name</parameter></methodparam>
<methodparam><parameter
role="keyword">v_string</parameter></methodparam>
<methodparam><parameter
role="keyword">origin</parameter></methodparam>
</methodsynopsis>
<methodsynopsis language="python">
<methodname><link
linkend="method-gtksettings--set-long-property">set_long_property</link></methodname>
<methodparam><parameter
role="keyword">name</parameter></methodparam>
<methodparam><parameter
role="keyword">v_long</parameter></methodparam>
<methodparam><parameter
role="keyword">origin</parameter></methodparam>
</methodsynopsis>
<methodsynopsis language="python">
<methodname><link
linkend="method-gtksettings--set-double-property">set_double_property</link></methodname>
<methodparam><parameter
role="keyword">name</parameter></methodparam>
<methodparam><parameter
role="keyword">v_double</parameter></methodparam>
<methodparam><parameter
role="keyword">origin</parameter></methodparam>
</methodsynopsis>
</classsynopsis>
<programlisting>
<emphasis role="bold">Functions</emphasis>
<methodsynopsis language="python">
<methodname><link
linkend="function-gtk--settings-get-default">gtk.settings_get_default</link></methodname>
<methodparam></methodparam>
</methodsynopsis><methodsynopsis language="python">
<methodname><link
linkend="function-gtk--settings-get-for-screen">gtk.settings_get_for_screen</link></methodname>
<methodparam><parameter
role="keyword">screen</parameter></methodparam>
</methodsynopsis>
</programlisting>
</refsect1>
<refsect1>
<title>Ancestry</title>
<synopsis>+-- <link linkend="class-gobject">gobject.GObject</link>
+-- <link linkend="class-gtksettings">gtk.Settings</link>
</synopsis>
</refsect1>
<refsect1 id="properties-gtksettings">
<title>gtk.Settings Properties</title>
<blockquote role="properties">
<informaltable pgwide="1" frame="none">
<tgroup cols="3">
<colspec column="1" colwidth="1in"/>
<colspec column="2" colwidth="1in"/>
<colspec column="3" colwidth="4in"/>
<tbody>
<row valign="top">
<entry>"gtk-alternative-sort-arrows"</entry>
<entry>Read-Write</entry>
<entry>Controls the direction of the sort indicators in sorted list
and tree views. By default an arrow pointing down means the column
is sorted in ascending order. When set to <literal>True</literal>,
this order will be inverted. Default value: <literal>False</literal>.
This property is available in GTK+ 2.12 and above.</entry>
</row>
<row valign="top">
<entry>"color-hash"</entry>
<entry>Read</entry>
<entry>Holds a hash table representation of the
gtk-color-scheme setting, mapping color names to <link
linkend="class-gdkcolor"><classname>gtk.gdk.Color</classname></link>s.
This property is available in GTK+ 2.10 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-alternative-button-order"</entry>
<entry>Read-Write</entry>
<entry>If <literal>True</literal>, buttons in dialogs should
use the alternative button order. Available in GTK+ 2.6 and above. Default
value: <literal>False</literal></entry>
</row>
<row valign="top">
<entry>"gtk-button-images"</entry>
<entry>Read-Write</entry>
<entry>If <literal>True</literal>, stock icons should be shown
in buttons. Available in GTK+ 2.4 and above.
Default value: <literal>True</literal></entry>
</row>
<row valign="top">
<entry>"gtk-can-change-accels"</entry>
<entry>Read-Write</entry>
<entry>If <literal>True</literal>, the menu accelerators can
be changed by pressing a key over the menu item. Default
value: <literal>False</literal></entry>
</row>
<row valign="top">
<entry>"gtk-color-palette"</entry>
<entry>Read-Write</entry>
<entry>The palette to use in the color selector.
Default value: "black:white:gray50:red:purple:blue:light blue:green:yellow:orange:lavender:brown:goldenrod4:dodger blue:pink:light green:gray10:gray30:gray75:gray90"</entry>
</row>
<row valign="top">
<entry>"gtk-color-scheme"</entry>
<entry>Read-Write</entry>
<entry>A palette of named colors for use in themes. The format of
the string is:
<programlisting>
name1: color1
name2: color2
...
</programlisting>
Color names must be acceptable as identifiers in the <link
linkend="class-gtkrcstyle"><classname>gtk.RcStyle</classname></link> syntax,
and color specifications must be in the format accepted by the <link
linkend="function-gdk--color-parse"><function>gtk.gdk.color_parse</function>()</link>
function. Note that due to the way the color tables from different sources
are merged, color specifications will be converted to hexadecimal form when
getting this property. Default value: ''. This property is available in
GTK+ 2.10 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-cursor-blink"</entry>
<entry>Read-Write</entry>
<entry>If <literal>True</literal>, the cursor should
blink. Default value: <literal>True</literal></entry>
</row>
<row valign="top">
<entry>"gtk-cursor-blink-time"</entry>
<entry>Read-Write</entry>
<entry>The length of the cursor blink cycle, in
milliseconds. Allowed values: >= 100. Default value: 1200</entry>
</row>
<row valign="top">
<entry>"gtk-cursor-blink-timeout"</entry>
<entry>Read-Write</entry>
<entry>Time after which the cursor stops blinking, in seconds.
The timer is reset after each user interaction.
Setting this to zero has the same effect as setting
GtkSettings:gtk-cursor-blink to <literal>False</literal>.
Allowed values: >= 1. Default value: 2147483647.
This property is available in GTK+ 2.12 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-cursor-theme-name"</entry>
<entry>Read-Write</entry>
<entry>Name of the cursor theme to use, or
<literal>None</literal> to use the default theme. Default
value: <literal>None</literal></entry>
</row>
<row valign="top">
<entry>"gtk-cursor-theme-size"</entry>
<entry>Read-Write</entry>
<entry>Size to use for cursors, or 0 to use the default
size. Allowed values: [0,128]. Default value: 0.</entry>
</row>
<row valign="top">
<entry>"gtk-dnd-drag-threshold"</entry>
<entry>Read-Write</entry>
<entry>The number of pixels the cursor can move before
dragging starts. Allowed values: >= 1. Default value: 8</entry>
</row>
<row valign="top">
<entry>"gtk-double-click-distance"</entry>
<entry>Read-Write</entry>
<entry>The maximum distance allowed between two clicks for
them to be considered a double click (in pixels). Available in GTK+ 2.4
and above. Allowed values: >= 0. Default value: 5</entry>
</row>
<row valign="top">
<entry>"gtk-double-click-time"</entry>
<entry>Read-Write</entry>
<entry>The maximum time allowed between two clicks for them to
be considered a double click (in milliseconds). Allowed values: >= 0.
Default value: 250</entry>
</row>
<row valign="top">
<entry>"gtk-enable-accels"</entry>
<entry>Read-Write</entry>
<entry>Whether menu items should have visible accelerators which
can be activated.
Default value: <literal>True</literal>.
This property is available in GTK+ 2.12 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-enable-animations"</entry>
<entry>Read-Write</entry>
<entry>If <literal>True</literal> enable toolkit-wide
animations. Default value: <literal>True</literal>.</entry>
</row>
<row valign="top">
<entry>"gtk-enable-event-sounds"</entry>
<entry>Read-Write</entry>
<entry>Whether to play any event sounds at all. See the Sound
Theme spec for more information on event sounds and sound themes.
GTK+ itself does not support event sounds, you have to use a
loadable module like the one that comes with libcanberra.
Default value: <literal>True</literal>.
This property is available in GTK+ 2.14 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-enable-input-feedback-sounds"</entry>
<entry>Read-Write</entry>
<entry>Whether to play event sounds as feedback to user input.
See the Sound Theme spec for more information on event sounds
and sound themes. GTK+ itself does not support event sounds, you
have to use a loadable module like the one that comes
with libcanberra. Default value: <literal>True</literal>.
This property is available in GTK+ 2.14 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-enable-mnemonics"</entry>
<entry>Read-Write</entry>
<entry>Whether labels and menu items should have visible mnemonics
which can be activated.
Default value: <literal>True</literal>.
This property is available in GTK+ 2.12 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-enable-tooltips"</entry>
<entry>Read-Write</entry>
<entry>Whether tooltips should be shown on widgets.
Default value: <literal>True</literal>.
This property is available in GTK+ 2.14 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-entry-password-hint-timeout"</entry>
<entry>Read-Write</entry>
<entry>How long to show the last input character in hidden
entries. This value is in milliseconds. 0 disables showing the
last char. 600 is a good value for enabling it. Default value:
0. This property is available in GTK+ 2.10 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-entry-select-on-focus"</entry>
<entry>Read-Write</entry>
<entry>If <literal>True</literal>, select the contents of an
entry when it is focused. Default value: <literal>True</literal></entry>
</row>
<row valign="top">
<entry>"gtk-error-bell"</entry>
<entry>Read-Write</entry>
<entry>When <literal>True</literal>, keyboard navigation and other
input-related errors will cause a beep. Since the error bell is
implemented using
<methodname><link linkend="method-gdkwindow--bell">gtk.gdk.Window.bell</link></methodname>(),
the windowing system may
offer ways to configure the error bell in many ways, such as
flashing the window or similar visual effects.
Default value: <literal>True</literal>.
This property is available in GTK+ 2.12 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-fallback-icon-theme"</entry>
<entry>Read-Write</entry>
<entry>Name of a icon theme to fall back to. Default value:
<literal>None</literal>.</entry>
</row>
<row valign="top">
<entry>"gtk-font-name"</entry>
<entry>Read-Write</entry>
<entry>The name of the default font to use.
Default value: "Sans 10"</entry>
</row>
<row valign="top">
<entry>"gtk-keynav-cursor-only"</entry>
<entry>Read-Write</entry>
<entry>When <literal>True</literal>, keyboard navigation should be
able to reach all widgets by using the cursor keys only. Tab,
Shift etc. keys can't be expected to be present on the used
input device.
Default value: <literal>False</literal>.
This property is available in GTK+ 2.12 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-keynav-wrap-around"</entry>
<entry>Read-Write</entry>
<entry>When <literal>True</literal>, some widgets will wrap around
when doing keyboard navigation, such as menus, menubars and notebooks.
Default value: <literal>True</literal>.
This property is available in GTK+ 2.12 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-icon-sizes"</entry>
<entry>Read-Write</entry>
<entry>The list of icon sizes
(gtk-menu=16,16;gtk-button=20,20...).
Default value: <literal>None</literal></entry>
</row>
<row valign="top">
<entry>"gtk-icon-theme-name"</entry>
<entry>Read-Write</entry>
<entry>The name of the icon theme to use. Available in
GTK+ 2.4 and above. Default value: "hicolor"</entry>
</row>
<row valign="top">
<entry>"gtk-key-theme-name"</entry>
<entry>Read-Write</entry>
<entry>The name of the key theme RC file to load.
Default value: <literal>None</literal></entry>
</row>
<row valign="top">
<entry>"gtk-label-select-on-focus"</entry>
<entry>Read-Write</entry>
<entry>If <literal>True</literal> select the contents of a
selectable label when it is focused. Default value:
<literal>True</literal>.</entry>
</row>
<row valign="top">
<entry>"gtk-menu-bar-accel"</entry>
<entry>Read-Write</entry>
<entry>The keybinding to activate the menu bar. Default
value: "F10"</entry>
</row>
<row valign="top">
<entry>"gtk-menu-bar-popup-delay"</entry>
<entry>Read-Write</entry>
<entry>The delay before the submenus of a menu bar appear.
Allowed values: >= 0. Default value: 0 Available in GTK+ 2.2
and above.</entry>
</row>
<row valign="top">
<entry>"gtk-menu-images"</entry>
<entry>Read-Write</entry>
<entry>If <literal>True</literal> images should be shown in
menus. Default value: <literal>True</literal>. Available in
GTK+ 2.4 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-menu-popdown-delay"</entry>
<entry>Read-Write</entry>
<entry>The time before hiding a submenu when the pointer is
moving toward the submenu. Allowed values: >= 0. Default
value: 1000. Available in GTK+ 2.2 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-menu-popup-delay"</entry>
<entry>Read-Write</entry>
<entry>Minimum time the pointer must stay over a menu item
before the submenu appears. Allowed values: >= 0. Default
value: 225. Available in GTK+ 2.2 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-modules"</entry>
<entry>Read-Write</entry>
<entry>The list of currently active GTK modules. Default
value: <literal>None</literal>. Available in GTK+ 2.6 and
above.</entry>
</row>
<row valign="top">
<entry>"gtk-recent-files-limit"</entry>
<entry>Read-Write</entry>
<entry>The number of recently used files that should be displayed
by default by GtkRecentChooser implementations and by the GtkFileChooser.
A value of -1 means every recently used file stored.
Allowed values: >= -1. Default value: 50.
This property is available in GTK+ 2.12 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-recent-files-max-age"</entry>
<entry>Read-Write</entry>
<entry>The maximum age, in days, of the items inside the recently
used resources list. Items older than this setting will be excised
from the list. If set to 0, the list will always be empty;
if set to -1, no item will be removed. Allowed values: >= -1.
Default value: 30
This property is available in GTK+ 2.14 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-scrolled-window-placement"</entry>
<entry>Read-Write</entry>
<entry>Where the contents of scrolled windows are located with
respect to the scrollbars, if not overridden by the scrolled
window's own placement. Default value:
<literal>gtk.CORNER_TOP_LEFT</literal>.</entry>
</row>
<row valign="top">
<entry>"gtk-show-input-method-menu"</entry>
<entry>Read-Write</entry>
<entry>If <literal>True</literal> the context menus of entries
and text views should offer to change the input
method. Default value: <literal>True</literal>.</entry>
</row>
<row valign="top">
<entry>"gtk-show-unicode-menu"</entry>
<entry>Read-Write</entry>
<entry>If <literal>True</literal> the context menus of entries
and text views should offer to insert control
characters. Default value: <literal>True</literal>.</entry>
</row>
<row valign="top">
<entry>"gtk-sound-theme-name"</entry>
<entry>Read-Write</entry>
<entry>The XDG sound theme to use for event sounds. See the Sound
Theme spec for more information on event sounds and sound themes.
GTK+ itself does not support event sounds, you have to use a
loadable module like the one that comes with libcanberra.
Default value: "freedesktop".
This property is available in GTK+ 2.14 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-split-cursor"</entry>
<entry>Read-Write</entry>
<entry>If <literal>True</literal>, two cursors should be
displayed for mixed left-to-right and right-to-left text.
Default value: <literal>True</literal></entry>
</row>
<row valign="top">
<entry>"gtk-theme-name"</entry>
<entry>Read-Write</entry>
<entry>The name of the theme RC file to load. Default value:
"Raleigh"</entry>
</row>
<row valign="top">
<entry>"gtk-timeout-expand"</entry>
<entry>Read-Write</entry>
<entry>Expand value for timeouts, when a widget is expanding a
new region. Allowed values: >= 0. Default value: 500.</entry>
</row>
<row valign="top">
<entry>"gtk-timeout-initial"</entry>
<entry>Read-Write</entry>
<entry>Starting value for timeouts, when button is
pressed. Allowed values: >= 0. Default value: 200.</entry>
</row>
<row valign="top">
<entry>"gtk-timeout-repeat"</entry>
<entry>Read-Write</entry>
<entry>Repeat value for timeouts, when button is
pressed. Allowed values: >= 0. Default value: 20.</entry>
</row>
<row valign="top">
<entry>"gtk-toolbar-icon-size"</entry>
<entry>Read-Write</entry>
<entry>the toolbar icon size - one of:
<literal>gtk.ICON_SIZE_MENU</literal>,
<literal>gtk.ICON_SIZE_SMALL_TOOLBAR</literal>,
<literal>gtk.ICON_SIZE_LARGE_TOOLBAR</literal>,
<literal>gtk.ICON_SIZE_BUTTON</literal>,
<literal>gtk.ICON_SIZE_DND</literal> or
<literal>gtk.ICON_SIZE_DIALOG</literal>. Default value:
<literal>gtk.ICON_SIZE_LARGE_TOOLBAR</literal>.</entry>
</row>
<row valign="top">
<entry>"gtk-toolbar-style"</entry>
<entry>Read-Write</entry>
<entry>The toolbar display style - one of:
<literal>gtk.TOOLBAR_ICONS</literal>,
<literal>gtk.TOOLBAR_TEXT</literal>,
<literal>gtk.TOOLBAR_BOTH</literal> or
<literal>gtk.TOOLBAR_BOTH_HORIZ</literal>. Default value:
<literal>gtk.TOOLBAR_BOTH</literal></entry>
</row>
<row valign="top">
<entry>"gtk-tooltip-browse-mode-timeout"</entry>
<entry>Read-Write</entry>
<entry>Amount of time, in milliseconds, after which the browse mode will be disabled.
See GtkSettings:gtk-tooltip-browse-timeout for more information about browse mode.
Allowed values: >= 0. Default value: 500.
This property is available in GTK+ 2.12 and above</entry>
</row>
<row valign="top">
<entry>"gtk-tooltip-browse-timeout"</entry>
<entry>Read-Write</entry>
<entry>Controls the time after which tooltips will appear when
browse mode is enabled, in milliseconds.
Browse mode is enabled when the mouse pointer moves off an object
where a tooltip was currently being displayed. If the mouse pointer
hits another object before the browse mode timeout expires
(see GtkSettings:gtk-tooltip-browse-mode-timeout), it will take the
amount of milliseconds specified by this setting to popup the tooltip
for the new object.
Allowed values: >= 0. Default value: 100.
This property is available in GTK+ 2.12 and above</entry>
</row>
<row valign="top">
<entry>"gtk-tooltip-timeout"</entry>
<entry>Read-Write</entry>
<entry>Time, in milliseconds, after which a tooltip could appear
if the cursor is hovering on top of a widget.
Allowed values: >= 0. Default value: 1500.
This property is available in GTK+ 2.12 and above</entry>
</row>
<row valign="top">
<entry>"gtk-touchscreen-mode"</entry>
<entry>Read-Write</entry>
<entry>When True, there are no motion notify events delivered
on this screen, and widgets can't use the pointer hovering
them for any essential functionality. Default value:
<literal>False</literal>. This property is available in GTK+
2.10 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-xft-antialias"</entry>
<entry>Read-Write</entry>
<entry>Whether to antialias Xft fonts; 0=no, 1=yes,
-1=default. Default value: -1. Available in GTK+ 2.4 and
above.</entry>
</row>
<row valign="top">
<entry>"gtk-xft-dpi"</entry>
<entry>Read-Write</entry>
<entry>Resolution for Xft, in 1024 * dots/inch. -1 to use
default value. Allowed values: [-1,1048576]. Default value:
-1. Available in GTK+ 2.4 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-xft-hinting"</entry>
<entry>Read-Write</entry>
<entry>Whether to hint Xft fonts; 0=no, 1=yes, -1=default.
Default value: -1. Available in GTK+ 2.4 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-xft-hintstyle"</entry>
<entry>Read-Write</entry>
<entry>What degree of hinting to use; none, slight, medium, or
full. Default value: <literal>None</literal>. Available in
GTK+ 2.4 and above.</entry>
</row>
<row valign="top">
<entry>"gtk-xft-rgba"</entry>
<entry>Read-Write</entry>
<entry>Type of subpixel antialiasing; none, rgb, bgr, vrgb,
vbgr. Default value: <literal>None</literal>. Available in
GTK+ 2.4 and above.</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</blockquote>
</refsect1>
<refsect1>
<title>Description</title>
<para>The <link
linkend="class-gtksettings"><classname>gtk.Settings</classname></link>
object stores the values of the global settings associated with a <link
linkend="class-gdkscreen"><classname>gtk.gdk.Screen</classname></link>. The
<link linkend="class-gtksettings"><classname>gtk.Settings</classname></link>
object for the default <link
linkend="class-gdkscreen"><classname>gtk.gdk.Screen</classname></link> can
be retrieved using the <link
linkend="function-gtk--settings-get-default"><function>gtk.settings_get_default</function>()</link>
function. The <link
linkend="method-gtkwidget--get-settings"><methodname>gtk.Widget.get_settings</methodname>()</link>
method returns the <link
linkend="class-gtksettings"><classname>gtk.Settings</classname></link>
object of the <link
linkend="class-gdkscreen"><classname>gtk.gdk.Screen</classname></link> that
the widget is displayed on.</para>
</refsect1>
<refsect1>
<title>Methods</title>
<!-- NOT IMPLEMENTED
<refsect2 id="method-gtksettings- -install-property">
<title>gtk.Settings.install_property</title>
<programlisting><methodsynopsis language="python">
<methodname>install_property</methodname>
<methodparam><parameter role="keyword">pspec</parameter></methodparam>
</methodsynopsis></programlisting>
<variablelist>
<varlistentry>
<term><parameter role="keyword">pspec</parameter> :</term>
<listitem><simpara>a GParamSpec*</simpara></listitem>
</varlistentry>
</variablelist>
</refsect2>
<refsect2 id="method-gtksettings- -install-property-parser">
<title>gtk.Settings.install_property_parser</title>
<programlisting><methodsynopsis language="python">
<methodname>install_property_parser</methodname>
<methodparam><parameter role="keyword">pspec</parameter></methodparam>
<methodparam><parameter role="keyword">parser</parameter></methodparam>
</methodsynopsis></programlisting>
<variablelist>
<varlistentry>
<term><parameter role="keyword">pspec</parameter> :</term>
<listitem><simpara>a GParamSpec*</simpara></listitem>
</varlistentry>
<varlistentry>
<term><parameter role="keyword">parser</parameter> :</term>
<listitem><simpara>a GtkRcPropertyParser</simpara></listitem>
</varlistentry>
</variablelist>
</refsect2>
<refsect2 id="method-gtksettings- -set-property-value">
<title>gtk.Settings.set_property_value</title>
<programlisting><methodsynopsis language="python">
<methodname>set_property_value</methodname>
<methodparam><parameter role="keyword">name</parameter></methodparam>
<methodparam><parameter role="keyword">svalue</parameter></methodparam>
</methodsynopsis></programlisting>
<variablelist>
<varlistentry>
<term><parameter role="keyword">name</parameter> :</term>
<listitem><simpara>a const-gchar*</simpara></listitem>
</varlistentry>
<varlistentry>
<term><parameter role="keyword">svalue</parameter> :</term>
<listitem><simpara>a const-GtkSettingsValue*</simpara></listitem>
</varlistentry>
</variablelist>
</refsect2>
END NOTIMPLEMENTED -->
<refsect2 id="method-gtksettings--set-string-property">
<title>gtk.Settings.set_string_property</title>
<programlisting><methodsynopsis language="python">
<methodname>set_string_property</methodname>
<methodparam><parameter
role="keyword">name</parameter></methodparam>
<methodparam><parameter
role="keyword">v_string</parameter></methodparam>
<methodparam><parameter
role="keyword">origin</parameter></methodparam>
</methodsynopsis></programlisting>
<variablelist>
<varlistentry>
<term><parameter role="keyword">name</parameter> :</term>
<listitem><simpara>the name of the property to
set</simpara></listitem>
</varlistentry>
<varlistentry>
<term><parameter role="keyword">v_string</parameter> :</term>
<listitem><simpara>the string value</simpara></listitem>
</varlistentry>
<varlistentry>
<term><parameter role="keyword">origin</parameter> :</term>
<listitem><simpara>the string value of the
origin</simpara></listitem>
</varlistentry>
</variablelist>
<para>The <methodname>set_string_property</methodname>() method sets
the property named <parameter>name</parameter> to the string value specified
by <parameter>v_string</parameter> at the string origin specified by
<parameter>origin</parameter>. <parameter>origin</parameter> is an
application specified string like "filename:linenumber" or
"myapp:widgetname".</para>
</refsect2>
<refsect2 id="method-gtksettings--set-long-property">
<title>gtk.Settings.set_long_property</title>
<programlisting><methodsynopsis language="python">
<methodname>set_long_property</methodname>
<methodparam><parameter
role="keyword">name</parameter></methodparam>
<methodparam><parameter
role="keyword">v_long</parameter></methodparam>
<methodparam><parameter
role="keyword">origin</parameter></methodparam>
</methodsynopsis></programlisting>
<variablelist>
<varlistentry>
<term><parameter role="keyword">name</parameter> :</term>
<listitem><simpara>the name of the property to
set</simpara></listitem>
</varlistentry>
<varlistentry>
<term><parameter role="keyword">v_long</parameter> :</term>
<listitem><simpara>the long value</simpara></listitem>
</varlistentry>
<varlistentry>
<term><parameter role="keyword">origin</parameter> :</term>
<listitem><simpara>the string value of the
origin</simpara></listitem>
</varlistentry>
</variablelist>
<para>The <methodname>set_long_property</methodname>() method sets the
property named <parameter>name</parameter> to the long value specified by
<parameter>v_long</parameter> at the string origin specified by
<parameter>origin</parameter>. <parameter>origin</parameter> is an
application specified string like "filename:linenumber" or
"myapp:widgetname".</para>
</refsect2>
<refsect2 id="method-gtksettings--set-double-property">
<title>gtk.Settings.set_double_property</title>
<programlisting><methodsynopsis language="python">
<methodname>set_double_property</methodname>
<methodparam><parameter
role="keyword">name</parameter></methodparam>
<methodparam><parameter
role="keyword">v_double</parameter></methodparam>
<methodparam><parameter
role="keyword">origin</parameter></methodparam>
</methodsynopsis></programlisting>
<variablelist>
<varlistentry>
<term><parameter role="keyword">name</parameter> :</term>
<listitem><simpara>the name of the property to
set</simpara></listitem>
</varlistentry>
<varlistentry>
<term><parameter role="keyword">v_double</parameter> :</term>
<listitem><simpara>the double value</simpara></listitem>
</varlistentry>
<varlistentry>
<term><parameter role="keyword">origin</parameter> :</term>
<listitem><simpara>the string value of the
origin</simpara></listitem>
</varlistentry>
</variablelist>
<para>The <methodname>set_double_property</methodname>() method sets
the property named <parameter>name</parameter> to the double value specified
by <parameter>v_long</parameter> at the string origin specified by
<parameter>origin</parameter>. <parameter>origin</parameter> is an
application specified string like "filename:linenumber" or
"myapp:widgetname".</para>
</refsect2>
</refsect1>
<refsect1>
<title>Functions</title>
<refsect2 id="function-gtk--settings-get-default">
<title>gtk.settings_get_default</title>
<programlisting><methodsynopsis language="python">
<methodname>gtk.settings_get_default</methodname>
<methodparam></methodparam>
</methodsynopsis></programlisting>
<variablelist>
<varlistentry>
<term><emphasis>Returns</emphasis> :</term>
<listitem><simpara>the singleton <link
linkend="class-gtksettings"><classname>gtk.Settings</classname></link>
object</simpara></listitem>
</varlistentry>
</variablelist>
<para>The <function>gtk.settings_get_default</function> function
returns the singleton <link
linkend="class-gtksettings"><classname>gtk.Settings</classname></link>
object.</para>
</refsect2>
<refsect2 id="function-gtk--settings-get-for-screen">
<title>gtk.settings_get_for_screen</title>
<programlisting><methodsynopsis language="python">
<methodname>gtk.settings_get_for_screen</methodname>
<methodparam><parameter
role="keyword">screen</parameter></methodparam>
</methodsynopsis></programlisting>
<variablelist>
<varlistentry>
<term><parameter role="keyword">screen</parameter> :</term>
<listitem><simpara>a <link
linkend="class-gdkscreen"><classname>gtk.gdk.Screen</classname></link>
object</simpara></listitem>
</varlistentry>
<varlistentry>
<term><emphasis>Returns</emphasis> :</term>
<listitem><simpara>a <link
linkend="class-gtksettings"><classname>gtk.Settings</classname></link>
object</simpara></listitem>
</varlistentry>
</variablelist>
<note>
<para>This function is available in PyGTK 2.2 and above.</para>
</note>
<para>The <function>gtk.settings_get_for_screen</function>() function
returns the singleton <link
linkend="class-gtksettings"><classname>gtk.Settings</classname></link>
object for the <link
linkend="class-gdkscreen"><classname>gtk.gdk.Screen</classname></link>
specified by <parameter>screen</parameter>.</para>
</refsect2>
</refsect1>
</refentry>
|