GtkSettings {RGtk2} | R Documentation |
Sharing settings between applications
gtkSettingsGetDefault()
gtkSettingsGetForScreen(screen)
gtkSettingsInstallProperty(pspec)
gtkSettingsInstallPropertyParser(pspec, parser)
gtkRcPropertyParseColor(pspec, gstring)
gtkRcPropertyParseEnum(pspec, gstring)
gtkRcPropertyParseFlags(pspec, gstring)
gtkRcPropertyParseRequisition(pspec, gstring)
gtkRcPropertyParseBorder(pspec, gstring)
gtkSettingsSetPropertyValue(object, name, svalue)
gtkSettingsSetStringProperty(object, name, v.string, origin)
gtkSettingsSetLongProperty(object, name, v.long, origin)
gtkSettingsSetDoubleProperty(object, name, v.double, origin)
GObject +----GtkSettings
GtkSettings
GtkSettingsValue
GtkSettingsValue
is a transparent-type.
color-hash
[GHashTable : Read]
Holds a hash table representation of the :gtk-color-scheme
setting, mapping color names to GdkColor
s.
Since 2.10
gtk-alternative-button-order
[logical : Read / Write]Whether buttons in dialogs should use the alternative button order. Default value: FALSE
gtk-alternative-sort-arrows
[logical : Read / Write]
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 TRUE
, this order will be inverted.
Default value: FALSE Since 2.12
gtk-button-images
[logical : Read / Write]Whether stock icons should be shown in buttons. Default value: TRUE
gtk-can-change-accels
[logical : Read / Write]Whether menu accelerators can be changed by pressing a key over the menu item. Default value: FALSE
gtk-color-palette
[character : Read / Write]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"
gtk-color-scheme
[character : Read / Write]A palette of named colors for use in themes. The format of the string is
name1: color1 name2: color2 ...Color names must be acceptable as identifiers in the gtkrc syntax, and color specifications must be in the format accepted by
gdkColorParse
.
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.
Starting with GTK+ 2.12, the entries can alternatively be separated by ';' instead of newlines:
name1: color1; name2: color2; ...
Default value: "" Since 2.10
gtk-cursor-blink
[logical : Read / Write]Whether the cursor should blink.
Also see the :gtk-cursor-blink-timeout
setting,
which allows more flexible control over cursor blinking.
Default value: TRUE
gtk-cursor-blink-time
[integer : Read / Write]Length of the cursor blink cycle, in milliseconds. Allowed values: >= 100 Default value: 1200
gtk-cursor-blink-timeout
[integer : Read / Write]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
:gtk-cursor-blink
to FALSE
.
Allowed values: >= 1 Default value: 2147483647 Since 2.12
gtk-cursor-theme-name
[character : Read / Write]Name of the cursor theme to use, or NULL to use the default theme. Default value: NULL
gtk-cursor-theme-size
[integer : Read / Write]Size to use for cursors, or 0 to use the default size. Allowed values: [0,128] Default value: 0
gtk-dnd-drag-threshold
[integer : Read / Write]Number of pixels the cursor can move before dragging. Allowed values: >= 1 Default value: 8
gtk-double-click-distance
[integer : Read / Write]Maximum distance allowed between two clicks for them to be considered a double click (in pixels). Allowed values: >= 0 Default value: 5
gtk-double-click-time
[integer : Read / Write]Maximum time allowed between two clicks for them to be considered a double click (in milliseconds). Allowed values: >= 0 Default value: 250
gtk-enable-accels
[logical : Read / Write]Whether menu items should have visible accelerators which can be activated.
Default value: TRUE Since 2.12
gtk-enable-animations
[logical : Read / Write]Whether to enable toolkit-wide animations. Default value: TRUE
gtk-enable-mnemonics
[logical : Read / Write]Whether labels and menu items should have visible mnemonics which can be activated.
Default value: TRUE Since 2.12
gtk-entry-password-hint-timeout
[numeric : Read / Write]How long to show the last inputted 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 Since 2.10
gtk-entry-select-on-focus
[logical : Read / Write]Whether to select the contents of an entry when it is focused. Default value: TRUE
gtk-error-bell
[logical : Read / Write]
When TRUE
, keyboard navigation and other input-related errors
will cause a beep. Since the error bell is implemented using
gdkWindowBeep
, 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: TRUE Since 2.12
gtk-fallback-icon-theme
[character : Read / Write]Name of a icon theme to fall back to. Default value: NULL
gtk-file-chooser-backend
[character : Read / Write]Name of the GtkFileChooser backend to use by default. Default value: NULL
gtk-font-name
[character : Read / Write]Name of default font to use. Default value: "Sans 10"
gtk-icon-sizes
[character : Read / Write]List of icon sizes (gtk-menu=16,16:gtk-button=20,20... Default value: NULL
gtk-icon-theme-name
[character : Read / Write]Name of icon theme to use. Default value: "hicolor"
gtk-key-theme-name
[character : Read / Write]Name of key theme RC file to load. Default value: NULL
gtk-keynav-cursor-only
[logical : Read / Write]
When TRUE
, 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: FALSE Since 2.12
gtk-keynav-wrap-around
[logical : Read / Write]
When TRUE
, some widgets will wrap around when doing keyboard
navigation, such as menus, menubars and notebooks.
Default value: TRUE Since 2.12
gtk-label-select-on-focus
[logical : Read / Write]Whether to select the contents of a selectable label when it is focused. Default value: TRUE
gtk-menu-bar-accel
[character : Read / Write]Keybinding to activate the menu bar. Default value: "F10"
gtk-menu-bar-popup-delay
[integer : Read / Write]Delay before the submenus of a menu bar appear. Allowed values: >= 0 Default value: 0
gtk-menu-images
[logical : Read / Write]Whether images should be shown in menus. Default value: TRUE
gtk-menu-popdown-delay
[integer : Read / Write]The time before hiding a submenu when the pointer is moving towards the submenu. Allowed values: >= 0 Default value: 1000
gtk-menu-popup-delay
[integer : Read / Write]Minimum time the pointer must stay over a menu item before the submenu appear. Allowed values: >= 0 Default value: 225
gtk-modules
[character : Read / Write]List of currently active GTK modules. Default value: NULL
gtk-print-backends
[character : Read / Write]A comma-separated list of print backends to use in the print dialog. Available print backends depend on the GTK+ installation, and may include "pdf", "cups" or "lpr".
Default value: "file,cups" Since 2.10
gtk-print-preview-command
[character : Read / Write]
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
gtkPrintSettingsToFile
.
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" Since 2.10
gtk-recent-files-limit
[integer : Read / Write]
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 Since 2.12
gtk-scrolled-window-placement
[GtkCornerType
: Read / Write]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: GTK_CORNER_TOP_LEFT Since 2.10
gtk-show-input-method-menu
[logical : Read / Write]Whether the context menus of entries and text views should offer to change the input method. Default value: TRUE
gtk-show-unicode-menu
[logical : Read / Write]Whether the context menus of entries and text views should offer to insert control characters. Default value: TRUE
gtk-split-cursor
[logical : Read / Write]Whether two cursors should be displayed for mixed left-to-right and right-to-left text. Default value: TRUE
gtk-theme-name
[character : Read / Write]Name of theme RC file to load. Default value: "Raleigh"
gtk-timeout-expand
[integer : Read / Write]Expand value for timeouts, when a widget is expanding a new region. Allowed values: >= 0 Default value: 500
gtk-timeout-initial
[integer : Read / Write]Starting value for timeouts, when button is pressed. Allowed values: >= 0 Default value: 200
gtk-timeout-repeat
[integer : Read / Write]Repeat value for timeouts, when button is pressed. Allowed values: >= 0 Default value: 20
gtk-toolbar-icon-size
[GtkIconSize
: Read / Write]Size of icons in default toolbars. Default value: GTK_ICON_SIZE_LARGE_TOOLBAR
gtk-toolbar-style
[GtkToolbarStyle
: Read / Write]Whether default toolbars have text only, text and icons, icons only, etc. Default value: GTK_TOOLBAR_BOTH
gtk-tooltip-browse-mode-timeout
[integer : Read / Write]Amount of time, in milliseconds, after which the browse mode will be disabled.
See :gtk-tooltip-browse-timeout
for more information
about browse mode.
Allowed values: >= 0 Default value: 500 Since 2.12
gtk-tooltip-browse-timeout
[integer : Read / Write]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
: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 Since 2.12
gtk-tooltip-timeout
[integer : Read / Write]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 Since 2.12
gtk-touchscreen-mode
[logical : Read / Write]
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: FALSE Since 2.10
gtk-xft-antialias
[integer : Read / Write]Whether to antialias Xft fonts; 0=no, 1=yes, -1=default. Allowed values: [-1,1] Default value: -1
gtk-xft-dpi
[integer : Read / Write]Resolution for Xft, in 1024 * dots/inch. -1 to use default value. Allowed values: [-1,1048576] Default value: -1
gtk-xft-hinting
[integer : Read / Write]Whether to hint Xft fonts; 0=no, 1=yes, -1=default. Allowed values: [-1,1] Default value: -1
gtk-xft-hintstyle
[character : Read / Write]What degree of hinting to use; hintnone, hintslight, hintmedium, or hintfull. Default value: NULL
gtk-xft-rgba
[character : Read / Write]Type of subpixel antialiasing; none, rgb, bgr, vrgb, vbgr. Default value: NULL
Derived by RGtkGen from GTK+ documentation
http://developer.gnome.org/doc/API/2.0/gtk/GtkSettings.html