GObject.Object
 Gtk.Settings
                Gtk.Settings
		   
 
       
       
    
   
    | Import line: | Gtk = imports.gi.Gtk; | 
| GIR File: | Gtk-3.0.gir | 
| C documentation: | GtkSettings | 
| Class : | Settings | 
| Implements: | Gtk.StyleProvider | 
| Extends: | GObject.Object | 
| 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 : gboolean 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_alternative_sort_arrows : gboolean 
                   
                     
			 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_application_prefer_dark_theme : gboolean 
                   
                     
			 Whether the application prefers to use a dark theme. Whether the application prefers to use a dark theme. If a GTK+ theme includes a dark variant, it will be used instead of the configured theme. Some applications benefit from minimizing the amount of light pollution that interferes with the content. Good candidates for dark themes are photo and video editors that make the actual content get all the attention and minimize the distraction of the chrome. Dark themes should not be used for documents, where large spaces are white/light and the dark chrome creates too much contrast (web browser, text editor...). | Gtk.Settings | |
| 
				gtk_auto_mnemonics : gboolean 
                   
                     
			 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_button_images : gboolean 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_can_change_accels : gboolean 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_color_palette : String 
                   
                     
			 | 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 ... Color names must be acceptable as identifiers in the gtkrc syntax, and color specifications must be in the format accepted by gdk_color_parse(). 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: | Gtk.Settings | |
| 
				gtk_cursor_blink : gboolean 
                   
                     
			 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 : gint32 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_cursor_blink_timeout : gint32 
                   
                     
			 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 : gint32 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_dnd_drag_threshold : gint32 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_double_click_distance : gint32 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_double_click_time : gint32 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_enable_accels : gboolean 
                   
                     
			 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 : gboolean 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_enable_event_sounds : gboolean 
                   
                     
			 Whether to play any event sounds at all. Whether to play any event sounds at all. See the 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. | Gtk.Settings | |
| 
				gtk_enable_input_feedback_sounds : gboolean 
                   
                     
			 Whether to play event sounds as feedback to user input. Whether to play event sounds as feedback to user input. See the 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. | Gtk.Settings | |
| 
				gtk_enable_mnemonics : gboolean 
                   
                     
			 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 : gboolean 
                   
                     
			 Whether tooltips should be shown on widgets. Whether tooltips should be shown on widgets. | Gtk.Settings | |
| 
				gtk_entry_password_hint_timeout : guint32 
                   
                     
			 How long to show the last input character in hidden entries. 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. | Gtk.Settings | |
| 
				gtk_entry_select_on_focus : gboolean 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_error_bell : gboolean 
                   
                     
			 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 : guint32 
                   
                     
			 | 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: E.g. "gtk-menu=16,16:gtk-button=20,20:gtk-dialog=48,48". gtk-button, gtk-small-toolbar, gtk-large-toolbar, gtk-dnd, gtk-dialog. Applications can register their own named icon sizes with gtk_icon_size_register(). | 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_im_preedit_style : Gtk.IMPreeditStyle 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_im_status_style : Gtk.IMStatusStyle 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_key_theme_name : String 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_keynav_cursor_only : gboolean 
                   
                     
			 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 : gboolean 
                   
                     
			 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_label_select_on_focus : gboolean 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_menu_bar_accel : String 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_menu_bar_popup_delay : gint32 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_menu_images : gboolean 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_menu_popdown_delay : gint32 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_menu_popup_delay : gint32 
                   
                     
			 | 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 : gint32 
                   
                     
			 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 : gint32 
                   
                     
			 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_scrolled_window_placement : Gtk.CornerType 
                   
                     
			 Where the contents of scrolled windows are located with respect to the scrollbars, if not overridden by the scrolled window's own placement. Where the contents of scrolled windows are located with respect to the scrollbars, if not overridden by the scrolled window's own placement. | Gtk.Settings | |
| 
				gtk_show_input_method_menu : gboolean 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_show_unicode_menu : gboolean 
                   
                     
			 | 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 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. | Gtk.Settings | |
| 
				gtk_split_cursor : gboolean 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_theme_name : String 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_timeout_expand : gint32 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_timeout_initial : gint32 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_timeout_repeat : gint32 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_toolbar_icon_size : Gtk.IconSize 
                   
                     
			 The size of icons in default toolbars. The size of icons in default toolbars. | Gtk.Settings | |
| 
				gtk_toolbar_style : Gtk.ToolbarStyle 
                   
                     
			 The size of icons in default toolbars. The size of icons in default toolbars. | Gtk.Settings | |
| 
				gtk_tooltip_browse_mode_timeout : gint32 
                   
                     
			 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 : gint32 
                   
                     
			 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 : gint32 
                   
                     
			 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 : gboolean 
                   
                     
			 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 : gint32 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_xft_dpi : gint32 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_xft_hinting : gint32 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_xft_hintstyle : String 
                   
                     
			 | Gtk.Settings | |
| 
				gtk_xft_rgba : String 
                   
                     
			 | Gtk.Settings | |
| 
				parent_instance : GObject.Object 
                 read only  
                     
			 | Gtk.Settings | |
| 
				priv : Gtk.SettingsPrivate 
                 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 | |
| 
			get_icon_factory
				
				 (WidgetPath path) 
			
				
					 : 
					Gtk.IconFactory
					
				
			
		 Returns the GtkIconFactory defined to be in use for path, or NULL if none is defined. 
			
				Returns the GtkIconFactory defined to be in use for path, or NULL if none is defined. 
 
 | Gtk.StyleProvider | |
| 
			get_style
				
				 (WidgetPath path) 
			
				
					 : 
					Gtk.StyleProperties
					
				
			
		 Returns the style settings affecting a widget defined by path, or NULL if style settings affecting path 
			
				Returns the style settings affecting a widget defined by path, or NULL if style settings affecting path 
 
 | Gtk.StyleProvider | |
| 
			get_style_property
				
				 (WidgetPath path, StateFlags state, ParamSpec pspec, Object out_values) 
			
				
					 : 
					gboolean
					
				
			
		 Looks up a widget style property as defined by provider for the widget represented by path. 
			
				Looks up a widget style property as defined by provider for the widget represented by path. 
 
 | Gtk.StyleProvider | |
| 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 used for this widget. |