<?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>"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-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>"gtk-auto-mnemonics"</entry>
        <entry>Read-Write</entry>
        <entry>Controls whether mnemonics should be automatically shown and
        hidden when the user presses the mnemonic activator. Default value: <literal>False</literal>
        Available in GTK+ 2.20 and above.</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-file-chooser-backend"</entry>
        <entry>Read-Write</entry>
        <entry>Name of the GtkFileChooser backend to use by default.
        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-fontconfig-timestamp"</entry>
        <entry>Read-Write</entry>
        <entry>Timestamp of current fontconfig configuration.
        Default value: 0</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-im-module"</entry>
        <entry>Read-Write</entry>
        <entry>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: <literal>None</literal></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-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-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-print-backends"</entry>
        <entry>Read-Write</entry>
        <entry>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.</entry>
      </row>

      <row valign="top">
        <entry>"gtk-print-preview-command"</entry>
        <entry>Read-Write</entry>
        <entry>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.</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>&nbsp;:</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>&nbsp;:</term>
      <listitem><simpara>a GParamSpec*</simpara></listitem>
    </varlistentry>
    <varlistentry>
      <term><parameter role="keyword">parser</parameter>&nbsp;:</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>&nbsp;:</term>
      <listitem><simpara>a const-gchar*</simpara></listitem>
    </varlistentry>
    <varlistentry>
      <term><parameter role="keyword">svalue</parameter>&nbsp;:</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>&nbsp;:</term>
	  <listitem><simpara>the name of the property to
set</simpara></listitem>
	</varlistentry>
	<varlistentry>
	  <term><parameter role="keyword">v_string</parameter>&nbsp;:</term>
	  <listitem><simpara>the string value</simpara></listitem>
	</varlistentry>
	<varlistentry>
	  <term><parameter role="keyword">origin</parameter>&nbsp;:</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>&nbsp;:</term>
	  <listitem><simpara>the name of the property to
set</simpara></listitem>
	</varlistentry>
	<varlistentry>
	  <term><parameter role="keyword">v_long</parameter>&nbsp;:</term>
	  <listitem><simpara>the long value</simpara></listitem>
	</varlistentry>
	<varlistentry>
	  <term><parameter role="keyword">origin</parameter>&nbsp;:</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>&nbsp;:</term>
	  <listitem><simpara>the name of the property to
set</simpara></listitem>
	</varlistentry>
	<varlistentry>
	  <term><parameter role="keyword">v_double</parameter>&nbsp;:</term>
	  <listitem><simpara>the double value</simpara></listitem>
	</varlistentry>
	<varlistentry>
	  <term><parameter role="keyword">origin</parameter>&nbsp;:</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>&nbsp;:</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>&nbsp;:</term>
	  <listitem><simpara>a <link
	  linkend="class-gdkscreen"><classname>gtk.gdk.Screen</classname></link>
	  object</simpara></listitem>
	</varlistentry>
        <varlistentry>
          <term><emphasis>Returns</emphasis>&nbsp;:</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>
