/usr/share/gtk-doc/html/pygtk/class-gtksettings.html is in python-gtk2-doc 2.24.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><title>gtk.Settings</title><link rel="stylesheet" href="style.css" type="text/css"><meta name="generator" content="DocBook XSL Stylesheets V1.75.2"><link rel="home" href="index.html" title="PyGTK 2.0 Reference Manual"><link rel="up" href="gtk-class-reference.html" title="The gtk Class Reference"><link rel="prev" href="class-gtkseparatortoolitem.html" title="gtk.SeparatorToolItem"><link rel="next" href="class-gtksizegroup.html" title="gtk.SizeGroup"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">gtk.Settings</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="class-gtkseparatortoolitem.html">Prev</a> </td><th width="60%" align="center">The gtk Class Reference</th><td width="20%" align="right"> <a accesskey="n" href="class-gtksizegroup.html">Next</a></td></tr></table><hr></div><div class="refentry" title="gtk.Settings"><a name="class-gtksettings"></a><div class="titlepage"></div><div class="refnamediv"><h2>gtk.Settings</h2><p>gtk.Settings — an object that contains the global settings for the
widgets on a <a class="link" href="class-gdkscreen.html" title="gtk.gdk.Screen"><code class="classname">gtk.gdk.Screen</code></a></p></div><div class="refsect1" title="Synopsis"><a name="id3896047"></a><h2>Synopsis</h2><table bgcolor="#D0E0F0" width="100%"><tr><td><pre class="classsynopsis">class <span class="ooclass"><span class="classname">gtk.Settings</span></span>(<span class="ooclass"><span class="classname"><PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK></span></span>):
<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtksettings.html#method-gtksettings--set-string-property" title="gtk.Settings.set_string_property">set_string_property</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>v_string</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>origin</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtksettings.html#method-gtksettings--set-long-property" title="gtk.Settings.set_long_property">set_long_property</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>v_long</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>origin</code></strong></span></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtksettings.html#method-gtksettings--set-double-property" title="gtk.Settings.set_double_property">set_double_property</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>v_double</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>origin</code></strong></span></span>)</code><br></pre></td></tr></table><pre class="programlisting">
<span class="bold"><strong>Functions</strong></span>
<code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtksettings.html#function-gtk--settings-get-default" title="gtk.settings_get_default">gtk.settings_get_default</a></span>(<span class="methodparam"></span>)</code><br><code class="methodsynopsis"> def <span class="methodname"><a class="link" href="class-gtksettings.html#function-gtk--settings-get-for-screen" title="gtk.settings_get_for_screen">gtk.settings_get_for_screen</a></span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>screen</code></strong></span></span>)</code>
</pre></div><div class="refsect1" title="Ancestry"><a name="id3896318"></a><h2>Ancestry</h2><pre class="synopsis">+-- <PYGTKDOCLINK HREF="class-gobject">gobject.GObject</PYGTKDOCLINK>
+-- <a class="link" href="class-gtksettings.html" title="gtk.Settings">gtk.Settings</a>
</pre></div><div class="refsect1" title="gtk.Settings Properties"><a name="properties-gtksettings"></a><h2>gtk.Settings Properties</h2><div class="blockquote"><table width="100%" border="0" bgcolor="#E0E0E0"><tr><td valign="top"><div class="informaltable"><table width="100%" border="0"><colgroup><col width="1in"><col width="1in"><col width="4in"></colgroup><tbody><tr valign="top"><td valign="top">"color-hash"</td><td valign="top">Read</td><td valign="top">Holds a hash table representation of the
gtk-color-scheme setting, mapping color names to <a class="link" href="class-gdkcolor.html" title="gtk.gdk.Color"><code class="classname">gtk.gdk.Color</code></a>s.
This property is available in GTK+ 2.10 and above.</td></tr><tr valign="top"><td valign="top">"gtk-alternative-button-order"</td><td valign="top">Read-Write</td><td valign="top">If <code class="literal">True</code>, buttons in dialogs should
use the alternative button order. Available in GTK+ 2.6 and above. Default
value: <code class="literal">False</code></td></tr><tr valign="top"><td valign="top">"gtk-alternative-sort-arrows"</td><td valign="top">Read-Write</td><td valign="top">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 <code class="literal">True</code>,
this order will be inverted. Default value: <code class="literal">False</code>.
This property is available in GTK+ 2.12 and above.</td></tr><tr valign="top"><td valign="top">"gtk-auto-mnemonics"</td><td valign="top">Read-Write</td><td valign="top">Controls whether mnemonics should be automatically shown and
hidden when the user presses the mnemonic activator. Default value: <code class="literal">False</code>
Available in GTK+ 2.20 and above.</td></tr><tr valign="top"><td valign="top">"gtk-button-images"</td><td valign="top">Read-Write</td><td valign="top">If <code class="literal">True</code>, stock icons should be shown
in buttons. Available in GTK+ 2.4 and above.
Default value: <code class="literal">True</code></td></tr><tr valign="top"><td valign="top">"gtk-can-change-accels"</td><td valign="top">Read-Write</td><td valign="top">If <code class="literal">True</code>, the menu accelerators can
be changed by pressing a key over the menu item. Default
value: <code class="literal">False</code></td></tr><tr valign="top"><td valign="top">"gtk-color-palette"</td><td valign="top">Read-Write</td><td valign="top">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"</td></tr><tr valign="top"><td valign="top">"gtk-color-scheme"</td><td valign="top">Read-Write</td><td valign="top">A palette of named colors for use in themes. The format of
the string is:
<pre class="programlisting">
name1: color1
name2: color2
...
</pre>
Color names must be acceptable as identifiers in the <a class="link" href="class-gtkrcstyle.html" title="gtk.RcStyle"><code class="classname">gtk.RcStyle</code></a> syntax,
and color specifications must be in the format accepted by the <a class="link" href="class-gdkcolor.html#function-gdk--color-parse" title="gtk.gdk.color_parse"><code class="function">gtk.gdk.color_parse</code>()</a>
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.</td></tr><tr valign="top"><td valign="top">"gtk-cursor-blink"</td><td valign="top">Read-Write</td><td valign="top">If <code class="literal">True</code>, the cursor should
blink. Default value: <code class="literal">True</code></td></tr><tr valign="top"><td valign="top">"gtk-cursor-blink-time"</td><td valign="top">Read-Write</td><td valign="top">The length of the cursor blink cycle, in
milliseconds. Allowed values: >= 100. Default value: 1200</td></tr><tr valign="top"><td valign="top">"gtk-cursor-blink-timeout"</td><td valign="top">Read-Write</td><td valign="top">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 <code class="literal">False</code>.
Allowed values: >= 1. Default value: 2147483647.
This property is available in GTK+ 2.12 and above.</td></tr><tr valign="top"><td valign="top">"gtk-cursor-theme-name"</td><td valign="top">Read-Write</td><td valign="top">Name of the cursor theme to use, or
<code class="literal">None</code> to use the default theme. Default
value: <code class="literal">None</code></td></tr><tr valign="top"><td valign="top">"gtk-cursor-theme-size"</td><td valign="top">Read-Write</td><td valign="top">Size to use for cursors, or 0 to use the default
size. Allowed values: [0,128]. Default value: 0.</td></tr><tr valign="top"><td valign="top">"gtk-dnd-drag-threshold"</td><td valign="top">Read-Write</td><td valign="top">The number of pixels the cursor can move before
dragging starts. Allowed values: >= 1. Default value: 8</td></tr><tr valign="top"><td valign="top">"gtk-double-click-distance"</td><td valign="top">Read-Write</td><td valign="top">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</td></tr><tr valign="top"><td valign="top">"gtk-double-click-time"</td><td valign="top">Read-Write</td><td valign="top">The maximum time allowed between two clicks for them to
be considered a double click (in milliseconds). Allowed values: >= 0.
Default value: 250</td></tr><tr valign="top"><td valign="top">"gtk-enable-accels"</td><td valign="top">Read-Write</td><td valign="top">Whether menu items should have visible accelerators which
can be activated.
Default value: <code class="literal">True</code>.
This property is available in GTK+ 2.12 and above.</td></tr><tr valign="top"><td valign="top">"gtk-enable-animations"</td><td valign="top">Read-Write</td><td valign="top">If <code class="literal">True</code> enable toolkit-wide
animations. Default value: <code class="literal">True</code>.</td></tr><tr valign="top"><td valign="top">"gtk-enable-event-sounds"</td><td valign="top">Read-Write</td><td valign="top">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: <code class="literal">True</code>.
This property is available in GTK+ 2.14 and above.</td></tr><tr valign="top"><td valign="top">"gtk-enable-input-feedback-sounds"</td><td valign="top">Read-Write</td><td valign="top">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: <code class="literal">True</code>.
This property is available in GTK+ 2.14 and above.</td></tr><tr valign="top"><td valign="top">"gtk-enable-mnemonics"</td><td valign="top">Read-Write</td><td valign="top">Whether labels and menu items should have visible mnemonics
which can be activated.
Default value: <code class="literal">True</code>.
This property is available in GTK+ 2.12 and above.</td></tr><tr valign="top"><td valign="top">"gtk-enable-tooltips"</td><td valign="top">Read-Write</td><td valign="top">Whether tooltips should be shown on widgets.
Default value: <code class="literal">True</code>.
This property is available in GTK+ 2.14 and above.</td></tr><tr valign="top"><td valign="top">"gtk-entry-password-hint-timeout"</td><td valign="top">Read-Write</td><td valign="top">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.</td></tr><tr valign="top"><td valign="top">"gtk-entry-select-on-focus"</td><td valign="top">Read-Write</td><td valign="top">If <code class="literal">True</code>, select the contents of an
entry when it is focused. Default value: <code class="literal">True</code></td></tr><tr valign="top"><td valign="top">"gtk-error-bell"</td><td valign="top">Read-Write</td><td valign="top">When <code class="literal">True</code>, keyboard navigation and other
input-related errors will cause a beep. Since the error bell is
implemented using
<code class="methodname"><PYGTKDOCLINK HREF="method-gdkwindow--bell">gtk.gdk.Window.bell</PYGTKDOCLINK></code>(),
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: <code class="literal">True</code>.
This property is available in GTK+ 2.12 and above.</td></tr><tr valign="top"><td valign="top">"gtk-fallback-icon-theme"</td><td valign="top">Read-Write</td><td valign="top">Name of a icon theme to fall back to. Default value:
<code class="literal">None</code>.</td></tr><tr valign="top"><td valign="top">"gtk-file-chooser-backend"</td><td valign="top">Read-Write</td><td valign="top">Name of the GtkFileChooser backend to use by default.
Default value: <code class="literal">None</code></td></tr><tr valign="top"><td valign="top">"gtk-font-name"</td><td valign="top">Read-Write</td><td valign="top">The name of the default font to use.
Default value: "Sans 10"</td></tr><tr valign="top"><td valign="top">"gtk-fontconfig-timestamp"</td><td valign="top">Read-Write</td><td valign="top">Timestamp of current fontconfig configuration.
Default value: 0</td></tr><tr valign="top"><td valign="top">"gtk-icon-sizes"</td><td valign="top">Read-Write</td><td valign="top">The list of icon sizes (gtk-menu=16,16;gtk-button=20,20...).
Default value: <code class="literal">None</code></td></tr><tr valign="top"><td valign="top">"gtk-icon-theme-name"</td><td valign="top">Read-Write</td><td valign="top">The name of the icon theme to use. Available in
GTK+ 2.4 and above. Default value: "hicolor"</td></tr><tr valign="top"><td valign="top">"gtk-im-module"</td><td valign="top">Read-Write</td><td valign="top">Which IM (input method) module should be used by default. This is the input method that will be used if the user has not explicitly chosen another input method from the IM context menu.
Default value: <code class="literal">None</code></td></tr><tr valign="top"><td valign="top">"gtk-key-theme-name"</td><td valign="top">Read-Write</td><td valign="top">The name of the key theme RC file to load.
Default value: <code class="literal">None</code></td></tr><tr valign="top"><td valign="top">"gtk-keynav-cursor-only"</td><td valign="top">Read-Write</td><td valign="top">When <code class="literal">True</code>, 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: <code class="literal">False</code>.
This property is available in GTK+ 2.12 and above.</td></tr><tr valign="top"><td valign="top">"gtk-keynav-wrap-around"</td><td valign="top">Read-Write</td><td valign="top">When <code class="literal">True</code>, some widgets will wrap around
when doing keyboard navigation, such as menus, menubars and notebooks.
Default value: <code class="literal">True</code>.
This property is available in GTK+ 2.12 and above.</td></tr><tr valign="top"><td valign="top">"gtk-label-select-on-focus"</td><td valign="top">Read-Write</td><td valign="top">If <code class="literal">True</code> select the contents of a
selectable label when it is focused. Default value:
<code class="literal">True</code>.</td></tr><tr valign="top"><td valign="top">"gtk-menu-bar-accel"</td><td valign="top">Read-Write</td><td valign="top">The keybinding to activate the menu bar. Default
value: "F10"</td></tr><tr valign="top"><td valign="top">"gtk-menu-bar-popup-delay"</td><td valign="top">Read-Write</td><td valign="top">The delay before the submenus of a menu bar appear.
Allowed values: >= 0. Default value: 0 Available in GTK+ 2.2
and above.</td></tr><tr valign="top"><td valign="top">"gtk-menu-images"</td><td valign="top">Read-Write</td><td valign="top">If <code class="literal">True</code> images should be shown in
menus. Default value: <code class="literal">True</code>. Available in
GTK+ 2.4 and above.</td></tr><tr valign="top"><td valign="top">"gtk-menu-popdown-delay"</td><td valign="top">Read-Write</td><td valign="top">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.</td></tr><tr valign="top"><td valign="top">"gtk-menu-popup-delay"</td><td valign="top">Read-Write</td><td valign="top">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.</td></tr><tr valign="top"><td valign="top">"gtk-modules"</td><td valign="top">Read-Write</td><td valign="top">The list of currently active GTK modules. Default
value: <code class="literal">None</code>. Available in GTK+ 2.6 and
above.</td></tr><tr valign="top"><td valign="top">"gtk-print-backends"</td><td valign="top">Read-Write</td><td valign="top">A comma-separated list of print backends to use in the print dialog. Available print backends depend
on the GTK+ installation, and may include "file", "cups", "lpr" or "papi".
Default value: "file,cups".
Available in GTK+ 2.10 and above.</td></tr><tr valign="top"><td valign="top">"gtk-print-preview-command"</td><td valign="top">Read-Write</td><td valign="top">A command to run for displaying the print preview. The command should contain a "f" placeholder, which
will get replaced by the path to the pdf file. The command may also contain a "s" placeholder, which will get
replaced by the path to a file containing the print settings in the format produced by gtk_print_settings_to_file().
The preview application is responsible for removing the pdf file and the print settings file when it is done.
Default value: "evince --unlink-tempfile --preview --print-settings %s %f".
Available in GTK+ 2.10 and above.</td></tr><tr valign="top"><td valign="top">"gtk-recent-files-limit"</td><td valign="top">Read-Write</td><td valign="top">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.</td></tr><tr valign="top"><td valign="top">"gtk-recent-files-max-age"</td><td valign="top">Read-Write</td><td valign="top">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.</td></tr><tr valign="top"><td valign="top">"gtk-scrolled-window-placement"</td><td valign="top">Read-Write</td><td valign="top">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:
<code class="literal">gtk.CORNER_TOP_LEFT</code>.</td></tr><tr valign="top"><td valign="top">"gtk-show-input-method-menu"</td><td valign="top">Read-Write</td><td valign="top">If <code class="literal">True</code> the context menus of entries
and text views should offer to change the input
method. Default value: <code class="literal">True</code>.</td></tr><tr valign="top"><td valign="top">"gtk-show-unicode-menu"</td><td valign="top">Read-Write</td><td valign="top">If <code class="literal">True</code> the context menus of entries
and text views should offer to insert control
characters. Default value: <code class="literal">True</code>.</td></tr><tr valign="top"><td valign="top">"gtk-sound-theme-name"</td><td valign="top">Read-Write</td><td valign="top">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.</td></tr><tr valign="top"><td valign="top">"gtk-split-cursor"</td><td valign="top">Read-Write</td><td valign="top">If <code class="literal">True</code>, two cursors should be
displayed for mixed left-to-right and right-to-left text.
Default value: <code class="literal">True</code></td></tr><tr valign="top"><td valign="top">"gtk-theme-name"</td><td valign="top">Read-Write</td><td valign="top">The name of the theme RC file to load. Default value:
"Raleigh"</td></tr><tr valign="top"><td valign="top">"gtk-timeout-expand"</td><td valign="top">Read-Write</td><td valign="top">Expand value for timeouts, when a widget is expanding a
new region. Allowed values: >= 0. Default value: 500.</td></tr><tr valign="top"><td valign="top">"gtk-timeout-initial"</td><td valign="top">Read-Write</td><td valign="top">Starting value for timeouts, when button is
pressed. Allowed values: >= 0. Default value: 200.</td></tr><tr valign="top"><td valign="top">"gtk-timeout-repeat"</td><td valign="top">Read-Write</td><td valign="top">Repeat value for timeouts, when button is
pressed. Allowed values: >= 0. Default value: 20.</td></tr><tr valign="top"><td valign="top">"gtk-toolbar-icon-size"</td><td valign="top">Read-Write</td><td valign="top">the toolbar icon size - one of:
<code class="literal">gtk.ICON_SIZE_MENU</code>,
<code class="literal">gtk.ICON_SIZE_SMALL_TOOLBAR</code>,
<code class="literal">gtk.ICON_SIZE_LARGE_TOOLBAR</code>,
<code class="literal">gtk.ICON_SIZE_BUTTON</code>,
<code class="literal">gtk.ICON_SIZE_DND</code> or
<code class="literal">gtk.ICON_SIZE_DIALOG</code>. Default value:
<code class="literal">gtk.ICON_SIZE_LARGE_TOOLBAR</code>.</td></tr><tr valign="top"><td valign="top">"gtk-toolbar-style"</td><td valign="top">Read-Write</td><td valign="top">The toolbar display style - one of:
<code class="literal">gtk.TOOLBAR_ICONS</code>,
<code class="literal">gtk.TOOLBAR_TEXT</code>,
<code class="literal">gtk.TOOLBAR_BOTH</code> or
<code class="literal">gtk.TOOLBAR_BOTH_HORIZ</code>. Default value:
<code class="literal">gtk.TOOLBAR_BOTH</code></td></tr><tr valign="top"><td valign="top">"gtk-tooltip-browse-mode-timeout"</td><td valign="top">Read-Write</td><td valign="top">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</td></tr><tr valign="top"><td valign="top">"gtk-tooltip-browse-timeout"</td><td valign="top">Read-Write</td><td valign="top">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</td></tr><tr valign="top"><td valign="top">"gtk-tooltip-timeout"</td><td valign="top">Read-Write</td><td valign="top">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</td></tr><tr valign="top"><td valign="top">"gtk-touchscreen-mode"</td><td valign="top">Read-Write</td><td valign="top">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:
<code class="literal">False</code>. This property is available in GTK+
2.10 and above.</td></tr><tr valign="top"><td valign="top">"gtk-xft-antialias"</td><td valign="top">Read-Write</td><td valign="top">Whether to antialias Xft fonts; 0=no, 1=yes,
-1=default. Default value: -1. Available in GTK+ 2.4 and
above.</td></tr><tr valign="top"><td valign="top">"gtk-xft-dpi"</td><td valign="top">Read-Write</td><td valign="top">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.</td></tr><tr valign="top"><td valign="top">"gtk-xft-hinting"</td><td valign="top">Read-Write</td><td valign="top">Whether to hint Xft fonts; 0=no, 1=yes, -1=default.
Default value: -1. Available in GTK+ 2.4 and above.</td></tr><tr valign="top"><td valign="top">"gtk-xft-hintstyle"</td><td valign="top">Read-Write</td><td valign="top">What degree of hinting to use; none, slight, medium, or
full. Default value: <code class="literal">None</code>. Available in
GTK+ 2.4 and above.</td></tr><tr valign="top"><td valign="top">"gtk-xft-rgba"</td><td valign="top">Read-Write</td><td valign="top">Type of subpixel antialiasing; none, rgb, bgr, vrgb,
vbgr. Default value: <code class="literal">None</code>. Available in
GTK+ 2.4 and above.</td></tr></tbody></table></div></td></tr></table></div></div><div class="refsect1" title="Description"><a name="id3898130"></a><h2>Description</h2><p>The <a class="link" href="class-gtksettings.html" title="gtk.Settings"><code class="classname">gtk.Settings</code></a>
object stores the values of the global settings associated with a <a class="link" href="class-gdkscreen.html" title="gtk.gdk.Screen"><code class="classname">gtk.gdk.Screen</code></a>. The
<a class="link" href="class-gtksettings.html" title="gtk.Settings"><code class="classname">gtk.Settings</code></a>
object for the default <a class="link" href="class-gdkscreen.html" title="gtk.gdk.Screen"><code class="classname">gtk.gdk.Screen</code></a> can
be retrieved using the <a class="link" href="class-gtksettings.html#function-gtk--settings-get-default" title="gtk.settings_get_default"><code class="function">gtk.settings_get_default</code>()</a>
function. The <a class="link" href="class-gtkwidget.html#method-gtkwidget--get-settings" title="gtk.Widget.get_settings"><code class="methodname">gtk.Widget.get_settings</code>()</a>
method returns the <a class="link" href="class-gtksettings.html" title="gtk.Settings"><code class="classname">gtk.Settings</code></a>
object of the <a class="link" href="class-gdkscreen.html" title="gtk.gdk.Screen"><code class="classname">gtk.gdk.Screen</code></a> that
the widget is displayed on.</p></div><div class="refsect1" title="Methods"><a name="id3898208"></a><h2>Methods</h2><div class="refsect2" title="gtk.Settings.set_string_property"><a name="method-gtksettings--set-string-property"></a><h3>gtk.Settings.set_string_property</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">set_string_property</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>v_string</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>origin</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>name</code></strong> :</span></p></td><td>the name of the property to
set</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>v_string</code></strong> :</span></p></td><td>the string value</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>origin</code></strong> :</span></p></td><td>the string value of the
origin</td></tr></tbody></table><p>The <code class="methodname">set_string_property</code>() method sets
the property named <em class="parameter"><code>name</code></em> to the string value specified
by <em class="parameter"><code>v_string</code></em> at the string origin specified by
<em class="parameter"><code>origin</code></em>. <em class="parameter"><code>origin</code></em> is an
application specified string like "filename:linenumber" or
"myapp:widgetname".</p></div><div class="refsect2" title="gtk.Settings.set_long_property"><a name="method-gtksettings--set-long-property"></a><h3>gtk.Settings.set_long_property</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">set_long_property</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>v_long</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>origin</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>name</code></strong> :</span></p></td><td>the name of the property to
set</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>v_long</code></strong> :</span></p></td><td>the long value</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>origin</code></strong> :</span></p></td><td>the string value of the
origin</td></tr></tbody></table><p>The <code class="methodname">set_long_property</code>() method sets the
property named <em class="parameter"><code>name</code></em> to the long value specified by
<em class="parameter"><code>v_long</code></em> at the string origin specified by
<em class="parameter"><code>origin</code></em>. <em class="parameter"><code>origin</code></em> is an
application specified string like "filename:linenumber" or
"myapp:widgetname".</p></div><div class="refsect2" title="gtk.Settings.set_double_property"><a name="method-gtksettings--set-double-property"></a><h3>gtk.Settings.set_double_property</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">set_double_property</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>name</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>v_double</code></strong></span></span>, <span class="methodparam"><span class="parameter"><strong class="parameter"><code>origin</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>name</code></strong> :</span></p></td><td>the name of the property to
set</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>v_double</code></strong> :</span></p></td><td>the double value</td></tr><tr><td><p><span class="term"><strong class="parameter"><code>origin</code></strong> :</span></p></td><td>the string value of the
origin</td></tr></tbody></table><p>The <code class="methodname">set_double_property</code>() method sets
the property named <em class="parameter"><code>name</code></em> to the double value specified
by <em class="parameter"><code>v_long</code></em> at the string origin specified by
<em class="parameter"><code>origin</code></em>. <em class="parameter"><code>origin</code></em> is an
application specified string like "filename:linenumber" or
"myapp:widgetname".</p></div></div><div class="refsect1" title="Functions"><a name="id3898746"></a><h2>Functions</h2><div class="refsect2" title="gtk.settings_get_default"><a name="function-gtk--settings-get-default"></a><h3>gtk.settings_get_default</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.settings_get_default</span>(<span class="methodparam"></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>the singleton <a class="link" href="class-gtksettings.html" title="gtk.Settings"><code class="classname">gtk.Settings</code></a>
object</td></tr></tbody></table><p>The <code class="function">gtk.settings_get_default</code> function
returns the singleton <a class="link" href="class-gtksettings.html" title="gtk.Settings"><code class="classname">gtk.Settings</code></a>
object.</p></div><div class="refsect2" title="gtk.settings_get_for_screen"><a name="function-gtk--settings-get-for-screen"></a><h3>gtk.settings_get_for_screen</h3><pre class="programlisting"><code class="methodsynopsis"> def <span class="methodname">gtk.settings_get_for_screen</span>(<span class="methodparam"><span class="parameter"><strong class="parameter"><code>screen</code></strong></span></span>)</code></pre><table border="0" width="100%" bgcolor="#FFECCE"><col align="left" valign="top" width="0*"><tbody><tr><td><p><span class="term"><strong class="parameter"><code>screen</code></strong> :</span></p></td><td>a <a class="link" href="class-gdkscreen.html" title="gtk.gdk.Screen"><code class="classname">gtk.gdk.Screen</code></a>
object</td></tr><tr><td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td><td>a <a class="link" href="class-gtksettings.html" title="gtk.Settings"><code class="classname">gtk.Settings</code></a>
object</td></tr></tbody></table><div class="note" title="Note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>This function is available in PyGTK 2.2 and above.</p></div><p>The <code class="function">gtk.settings_get_for_screen</code>() function
returns the singleton <a class="link" href="class-gtksettings.html" title="gtk.Settings"><code class="classname">gtk.Settings</code></a>
object for the <a class="link" href="class-gdkscreen.html" title="gtk.gdk.Screen"><code class="classname">gtk.gdk.Screen</code></a>
specified by <em class="parameter"><code>screen</code></em>.</p></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="class-gtkseparatortoolitem.html">Prev</a> </td><td width="20%" align="center"><a accesskey="u" href="gtk-class-reference.html">Up</a></td><td width="40%" align="right"> <a accesskey="n" href="class-gtksizegroup.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">gtk.SeparatorToolItem </td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top"> gtk.SizeGroup</td></tr></table></div></body></html>
|