GObject.Object
Gtk.Settings
Import line: | Gtk = imports.gi.Gtk; |
GIR File: | Gtk-2.0.gir |
C documentation: | GtkSettings |
Class : | Settings |
Extends: | GObject.Object |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
color_hash : Object
read only
Holds a hash table representation of the GtkSettings:gtk-color-scheme setting, mapping color names to GdkColors.
Holds a hash table representation of the GtkSettings:gtk-color-scheme setting, mapping color names to GdkColors.
|
Gtk.Settings | |
gtk_alternative_button_order : Boolean
|
Gtk.Settings | |
gtk_alternative_sort_arrows : Boolean
Controls the direction of the sort indicators in sorted list and tree views.
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.
|
Gtk.Settings | |
gtk_auto_mnemonics : Boolean
Whether mnemonics should be automatically shown and hidden when the user presses the mnemonic activator.
Whether mnemonics should be automatically shown and hidden when the user presses the mnemonic activator.
|
Gtk.Settings | |
gtk_color_scheme : String
A palette of named colors for use in themes.
A palette of named colors for use in themes. The format of the string is
|
Gtk.Settings | |
gtk_cursor_blink : Boolean
Whether the cursor should blink.
Whether the cursor should blink. Also see the GtkSettings:gtk-cursor-blink-timeout setting, which allows more flexible control over cursor blinking.
|
Gtk.Settings | |
gtk_cursor_blink_time : Number
|
Gtk.Settings | |
gtk_cursor_blink_timeout : Number
Time after which the cursor stops blinking, in seconds.
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 FALSE.
|
Gtk.Settings | |
gtk_cursor_theme_name : String
|
Gtk.Settings | |
gtk_cursor_theme_size : Number
|
Gtk.Settings | |
gtk_dnd_drag_threshold : Number
|
Gtk.Settings | |
gtk_double_click_distance : Number
|
Gtk.Settings | |
gtk_double_click_time : Number
|
Gtk.Settings | |
gtk_enable_accels : Boolean
Whether menu items should have visible accelerators which can be activated.
Whether menu items should have visible accelerators which can be activated.
|
Gtk.Settings | |
gtk_enable_animations : Boolean
|
Gtk.Settings | |
gtk_enable_event_sounds : Boolean
Whether to play any event sounds at all.
Whether to play any event sounds at all. See the
|
Gtk.Settings | |
gtk_enable_input_feedback_sounds : Boolean
Whether to play event sounds as feedback to user input.
Whether to play event sounds as feedback to user input. See the
|
Gtk.Settings | |
gtk_enable_mnemonics : Boolean
Whether labels and menu items should have visible mnemonics which can be activated.
Whether labels and menu items should have visible mnemonics which can be activated.
|
Gtk.Settings | |
gtk_enable_tooltips : Boolean
Whether tooltips should be shown on widgets.
Whether tooltips should be shown on widgets.
|
Gtk.Settings | |
gtk_error_bell : Boolean
When TRUE, keyboard navigation and other input-related errors will cause a beep.
When TRUE, keyboard navigation and other input-related errors will cause a beep. Since the error bell is implemented using gdk_window_beep(), the windowing system may offer ways to configure the error bell in many ways, such as flashing the window or similar visual effects.
|
Gtk.Settings | |
gtk_fallback_icon_theme : String
|
Gtk.Settings | |
gtk_file_chooser_backend : String
|
Gtk.Settings | |
gtk_font_name : String
|
Gtk.Settings | |
gtk_fontconfig_timestamp : Number
|
Gtk.Settings | |
gtk_icon_sizes : String
A list of icon sizes.
A list of icon sizes. The list is separated by colons, and item has the form:
|
Gtk.Settings | |
gtk_icon_theme_name : String
|
Gtk.Settings | |
gtk_im_module : String
Which IM (input method) module should be used by default.
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. See GtkIMContext and see the GtkSettings:gtk-show-input-method-menu property.
|
Gtk.Settings | |
gtk_key_theme_name : String
|
Gtk.Settings | |
gtk_keynav_cursor_only : Boolean
When TRUE, keyboard navigation should be able to reach all widgets by using the cursor keys only.
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.
|
Gtk.Settings | |
gtk_keynav_wrap_around : Boolean
When TRUE, some widgets will wrap around when doing keyboard navigation, such as menus, menubars and notebooks.
When TRUE, some widgets will wrap around when doing keyboard navigation, such as menus, menubars and notebooks.
|
Gtk.Settings | |
gtk_menu_bar_accel : String
|
Gtk.Settings | |
gtk_modules : String
|
Gtk.Settings | |
gtk_print_backends : String
A comma-separated list of print backends to use in the print dialog.
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".
|
Gtk.Settings | |
gtk_print_preview_command : String
A command to run for displaying the print preview.
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.
|
Gtk.Settings | |
gtk_recent_files_limit : Number
The number of recently used files that should be displayed by default by GtkRecentChooser implementations and by the GtkFileChooser.
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.
|
Gtk.Settings | |
gtk_recent_files_max_age : Number
The maximum age, in days, of the items inside the recently used resources list.
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.
|
Gtk.Settings | |
gtk_show_input_method_menu : Boolean
|
Gtk.Settings | |
gtk_show_unicode_menu : Boolean
|
Gtk.Settings | |
gtk_sound_theme_name : String
The XDG sound theme to use for event sounds.
The XDG sound theme to use for event sounds. See the
|
Gtk.Settings | |
gtk_split_cursor : Boolean
|
Gtk.Settings | |
gtk_theme_name : String
|
Gtk.Settings | |
gtk_timeout_expand : Number
|
Gtk.Settings | |
gtk_timeout_initial : Number
|
Gtk.Settings | |
gtk_timeout_repeat : Number
|
Gtk.Settings | |
gtk_toolbar_icon_size : Gtk.IconSize
|
Gtk.Settings | |
gtk_toolbar_style : Gtk.ToolbarStyle
|
Gtk.Settings | |
gtk_tooltip_browse_mode_timeout : Number
Amount of time, in milliseconds, after which the browse mode will be disabled.
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.
|
Gtk.Settings | |
gtk_tooltip_browse_timeout : Number
Controls the time after which tooltips will appear when browse mode is enabled, in milliseconds.
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.
|
Gtk.Settings | |
gtk_tooltip_timeout : Number
Time, in milliseconds, after which a tooltip could appear if the cursor is hovering on top of a widget.
Time, in milliseconds, after which a tooltip could appear if the cursor is hovering on top of a widget.
|
Gtk.Settings | |
gtk_touchscreen_mode : Boolean
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.
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.
|
Gtk.Settings | |
gtk_xft_antialias : Number
|
Gtk.Settings | |
gtk_xft_dpi : Number
|
Gtk.Settings | |
gtk_xft_hinting : Number
|
Gtk.Settings | |
gtk_xft_hintstyle : String
|
Gtk.Settings | |
gtk_xft_rgba : String
|
Gtk.Settings | |
parent_instance : GObject.Object
read only
|
Gtk.Settings | |
property_values : Gtk.SettingsPropertyValue
read only
|
Gtk.Settings | |
queued_settings : GLib.Data
read only
|
Gtk.Settings | |
rc_context : Gtk.RcContext
read only
|
Gtk.Settings | |
screen : Gdk.Screen
read only
|
Gtk.Settings |
Method / Constructor | Defined By | |
---|---|---|
new Gtk.Settings
(Object properties)
Create a new Gtk.Settings
Create a new Gtk.Settings
|
||
Gtk.Settings.get_default
()
:
Gtk.Settings
Gets the GtkSettings object for the default GDK screen, creating it if necessary.
Gets the GtkSettings object for the default GDK screen, creating it if necessary. See gtk_settings_get_for_screen(). screen, then returns NULL.
|
Gtk.Settings | |
Gets the GtkSettings object for screen, creating it if necessary.
Gets the GtkSettings object for screen, creating it if necessary.
|
Gtk.Settings | |
Gtk.Settings.install_property
(ParamSpec pspec)
:
none
|
Gtk.Settings | |
|
Gtk.Settings | |
Gtk.Settings | ||
Gtk.Settings | ||
set_property_value
(String name, SettingsValue svalue)
:
none
|
Gtk.Settings | |
Gtk.Settings |
None |
Class / Namespace | Method / Signal / Properties |
---|---|
Gtk
Method |
Obtains the pixel size of a semantic icon size, possibly modified by user preferences for a particular GtkSettings.
|
Gtk
Method |
Looks up a file in pixmap path for the specified GtkSettings.
|
Gtk
Method |
Gtk.rc_get_style_by_paths
(Settings settings, String widget_path, String class_path, Number type)
:
Gtk.Style
Creates up a GtkStyle from styles defined in a RC file by providing the raw components used in matching.
|
Gtk
Method |
If the modification time on any previously read file for the given GtkSettings has changed, discard all style information and then reread all previously read RC files.
|
Gtk
Method |
Gtk.rc_reset_styles
(Settings settings)
:
none
This function recomputes the styles for all widgets that use a particular GtkSettings object.
|
Gtk.Widget
Method |
get_settings
()
:
Gtk.Settings
Gets the settings object holding the settings (global property settings, RC file information, etc) used for this widget.
|