gtk.settings

Module for [Settings] class

Types 3

GtkSettings provide a mechanism to share global settings between applications.

On the X window system, this sharing is realized by an

XSettings

manager that is usually part of the desktop environment, along with utilities that let the user change these settings. In the absence of an Xsettings manager, GTK+ reads default values for settings from settings.ini files in /etc/gtk-3.0, $XDG_CONFIG_DIRS/gtk-3.0 and $XDG_CONFIG_HOME/gtk-3.0. These files must be valid key files (see #GKeyFile), and have a section called Settings. Themes can also provide default values for settings by installing a settings.ini file next to their gtk.css file.

Applications can override system-wide settings by setting the property of the GtkSettings object with [gobject.object.ObjectWrap.set]. This should be restricted to special cases though; GtkSettings are not meant as an application configuration facility. When doing so, you need to be aware that settings that are specific to individual widgets may not be available before the widget type has been realized at least once. The following example demonstrates a way to do this:

gtk_init (&argc, &argv);

 // make sure the type is realized
 g_type_class_unref (g_type_class_ref (GTK_TYPE_IMAGE_MENU_ITEM));

 g_object_set (gtk_settings_get_default (), "gtk-enable-animations", FALSE, NULL);

There is one GtkSettings instance per screen. It can be obtained with [gtk.settings.Settings.getForScreen], but in many cases, it is more convenient to use [gtk.widget.Widget.getSettings]. [gtk.settings.Settings.getDefault] returns the GtkSettings instance for the default screen.

Methods
GType _gType() @property
Settings self()Returns `this`, for use in `with` statements.
SettingsGidBuilder builder()Get builder for [gtk.settings.Settings] Returns: New builder object
bool gtkAlternativeButtonOrder() @property
void gtkAlternativeButtonOrder(bool propval) @property
bool gtkAlternativeSortArrows() @propertyGet `gtkAlternativeSortArrows` property. Returns: 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 ascend...
void gtkAlternativeSortArrows(bool propval) @propertySet `gtkAlternativeSortArrows` property. Params: propval = Controls the direction of the sort indicators in sorted list and tree views. By default an arrow pointing down means the column is sorted ...
bool gtkApplicationPreferDarkTheme() @propertyGet `gtkApplicationPreferDarkTheme` property. Returns: 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.
void gtkApplicationPreferDarkTheme(bool propval) @propertySet `gtkApplicationPreferDarkTheme` property. Params: propval = Whether the application prefers to use a dark theme. If a GTK+ theme includes a dark variant, it will be used instead of the configur...
bool gtkAutoMnemonics() @propertyGet `gtkAutoMnemonics` property. Returns: Whether mnemonics should be automatically shown and hidden when the user presses the mnemonic activator.
void gtkAutoMnemonics(bool propval) @propertySet `gtkAutoMnemonics` property. Params: propval = Whether mnemonics should be automatically shown and hidden when the user presses the mnemonic activator.
bool gtkButtonImages() @propertyGet `gtkButtonImages` property. Returns: Whether images should be shown on buttons
void gtkButtonImages(bool propval) @propertySet `gtkButtonImages` property. Params: propval = Whether images should be shown on buttons
bool gtkCanChangeAccels() @propertyGet `gtkCanChangeAccels` property. Returns: Whether menu accelerators can be changed by pressing a key over the menu item.
void gtkCanChangeAccels(bool propval) @propertySet `gtkCanChangeAccels` property. Params: propval = Whether menu accelerators can be changed by pressing a key over the menu item.
string gtkColorPalette() @propertyGet `gtkColorPalette` property. Returns: Palette to use in the deprecated color selector.
void gtkColorPalette(string propval) @propertySet `gtkColorPalette` property. Params: propval = Palette to use in the deprecated color selector.
string gtkColorScheme() @propertyGet `gtkColorScheme` property. Returns: 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 identifier...
void gtkColorScheme(string propval) @propertySet `gtkColorScheme` property. Params: propval = 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 i...
float gtkCursorAspectRatio() @property
void gtkCursorAspectRatio(float propval) @property
bool gtkCursorBlink() @propertyGet `gtkCursorBlink` property. Returns: Whether the cursor should blink.
void gtkCursorBlink(bool propval) @propertySet `gtkCursorBlink` property. Params: propval = Whether the cursor should blink.
int gtkCursorBlinkTime() @property
void gtkCursorBlinkTime(int propval) @property
int gtkCursorBlinkTimeout() @propertyGet `gtkCursorBlinkTimeout` property. Returns: Time after which the cursor stops blinking, in seconds. The timer is reset after each user interaction.
void gtkCursorBlinkTimeout(int propval) @propertySet `gtkCursorBlinkTimeout` property. Params: propval = Time after which the cursor stops blinking, in seconds. The timer is reset after each user interaction.
string gtkCursorThemeName() @property
void gtkCursorThemeName(string propval) @property
int gtkCursorThemeSize() @property
void gtkCursorThemeSize(int propval) @property
string gtkDecorationLayout() @propertyGet `gtkDecorationLayout` property. Returns: This setting determines which buttons should be put in the titlebar of client-side decorated windows, and whether they should be placed at the left of r...
void gtkDecorationLayout(string propval) @propertySet `gtkDecorationLayout` property. Params: propval = This setting determines which buttons should be put in the titlebar of client-side decorated windows, and whether they should be placed at the ...
bool gtkDialogsUseHeader() @propertyGet `gtkDialogsUseHeader` property. Returns: Whether builtin GTK+ dialogs such as the file chooser, the color chooser or the font chooser will use a header bar at the top to show action widgets, or...
void gtkDialogsUseHeader(bool propval) @propertySet `gtkDialogsUseHeader` property. Params: propval = Whether builtin GTK+ dialogs such as the file chooser, the color chooser or the font chooser will use a header bar at the top to show action wi...
int gtkDndDragThreshold() @property
void gtkDndDragThreshold(int propval) @property
int gtkDoubleClickDistance() @property
void gtkDoubleClickDistance(int propval) @property
int gtkDoubleClickTime() @property
void gtkDoubleClickTime(int propval) @property
bool gtkEnableAccels() @propertyGet `gtkEnableAccels` property. Returns: Whether menu items should have visible accelerators which can be activated.
void gtkEnableAccels(bool propval) @propertySet `gtkEnableAccels` property. Params: propval = Whether menu items should have visible accelerators which can be activated.
bool gtkEnableAnimations() @property
void gtkEnableAnimations(bool propval) @property
bool gtkEnableEventSounds() @propertyGet `gtkEnableEventSounds` property. Returns: Whether to play any event sounds at all.
void gtkEnableEventSounds(bool propval) @propertySet `gtkEnableEventSounds` property. Params: propval = Whether to play any event sounds at all.
bool gtkEnableInputFeedbackSounds() @propertyGet `gtkEnableInputFeedbackSounds` property. Returns: Whether to play event sounds as feedback to user input.
void gtkEnableInputFeedbackSounds(bool propval) @propertySet `gtkEnableInputFeedbackSounds` property. Params: propval = Whether to play event sounds as feedback to user input.
bool gtkEnableMnemonics() @propertyGet `gtkEnableMnemonics` property. Returns: Whether labels and menu items should have visible mnemonics which can be activated.
void gtkEnableMnemonics(bool propval) @propertySet `gtkEnableMnemonics` property. Params: propval = Whether labels and menu items should have visible mnemonics which can be activated.
bool gtkEnablePrimaryPaste() @propertyGet `gtkEnablePrimaryPaste` property. Returns: Whether a middle click on a mouse should paste the 'PRIMARY' clipboard content at the cursor location.
void gtkEnablePrimaryPaste(bool propval) @propertySet `gtkEnablePrimaryPaste` property. Params: propval = Whether a middle click on a mouse should paste the 'PRIMARY' clipboard content at the cursor location.
bool gtkEnableTooltips() @propertyGet `gtkEnableTooltips` property. Returns: Whether tooltips should be shown on widgets.
void gtkEnableTooltips(bool propval) @propertySet `gtkEnableTooltips` property. Params: propval = Whether tooltips should be shown on widgets.
uint gtkEntryPasswordHintTimeout() @propertyGet `gtkEntryPasswordHintTimeout` property. Returns: 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 valu...
void gtkEntryPasswordHintTimeout(uint propval) @propertySet `gtkEntryPasswordHintTimeout` property. Params: propval = 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 ...
bool gtkEntrySelectOnFocus() @property
void gtkEntrySelectOnFocus(bool propval) @property
bool gtkErrorBell() @propertyGet `gtkErrorBell` property. Returns: When true, keyboard navigation and other input-related errors will cause a beep. Since the error bell is implemented using [gdk.window.Window.beep], the window...
void gtkErrorBell(bool propval) @propertySet `gtkErrorBell` property. Params: propval = When true, keyboard navigation and other input-related errors will cause a beep. Since the error bell is implemented using [gdk.window.Window.beep], t...
string gtkFallbackIconTheme() @propertyGet `gtkFallbackIconTheme` property. Returns: Name of a icon theme to fall back to.
void gtkFallbackIconTheme(string propval) @propertySet `gtkFallbackIconTheme` property. Params: propval = Name of a icon theme to fall back to.
string gtkFileChooserBackend() @propertyGet `gtkFileChooserBackend` property. Returns: Name of the GtkFileChooser backend to use by default.
void gtkFileChooserBackend(string propval) @propertySet `gtkFileChooserBackend` property. Params: propval = Name of the GtkFileChooser backend to use by default.
string gtkFontName() @propertyGet `gtkFontName` property. Returns: The default font to use. GTK+ uses the family name and size from this string.
void gtkFontName(string propval) @propertySet `gtkFontName` property. Params: propval = The default font to use. GTK+ uses the family name and size from this string.
uint gtkFontconfigTimestamp() @property
void gtkFontconfigTimestamp(uint propval) @property
string gtkIconSizes() @propertyGet `gtkIconSizes` property. Returns: A list of icon sizes. The list is separated by colons, and item has the form:
void gtkIconSizes(string propval) @propertySet `gtkIconSizes` property. Params: propval = A list of icon sizes. The list is separated by colons, and item has the form:
string gtkIconThemeName() @property
void gtkIconThemeName(string propval) @property
string gtkImModule() @propertyGet `gtkImModule` property. Returns: 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 ...
void gtkImModule(string propval) @propertySet `gtkImModule` property. Params: propval = 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 inpu...
gtk.types.IMPreeditStyle gtkImPreeditStyle() @propertyGet `gtkImPreeditStyle` property. Returns: How to draw the input method preedit string.
void gtkImPreeditStyle(gtk.types.IMPreeditStyle propval) @propertySet `gtkImPreeditStyle` property. Params: propval = How to draw the input method preedit string.
gtk.types.IMStatusStyle gtkImStatusStyle() @propertyGet `gtkImStatusStyle` property. Returns: How to draw the input method statusbar.
void gtkImStatusStyle(gtk.types.IMStatusStyle propval) @propertySet `gtkImStatusStyle` property. Params: propval = How to draw the input method statusbar.
string gtkKeyThemeName() @property
void gtkKeyThemeName(string propval) @property
bool gtkKeynavCursorOnly() @propertyGet `gtkKeynavCursorOnly` property. Returns: 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 o...
void gtkKeynavCursorOnly(bool propval) @propertySet `gtkKeynavCursorOnly` property. Params: propval = 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 ...
bool gtkKeynavUseCaret() @propertyGet `gtkKeynavUseCaret` property. Returns: Whether GTK+ should make sure that text can be navigated with a caret, even if it is not editable. This is useful when using a screen reader.
void gtkKeynavUseCaret(bool propval) @propertySet `gtkKeynavUseCaret` property. Params: propval = Whether GTK+ should make sure that text can be navigated with a caret, even if it is not editable. This is useful when using a screen reader.
bool gtkKeynavWrapAround() @propertyGet `gtkKeynavWrapAround` property. Returns: When true, some widgets will wrap around when doing keyboard navigation, such as menus, menubars and notebooks.
void gtkKeynavWrapAround(bool propval) @propertySet `gtkKeynavWrapAround` property. Params: propval = When true, some widgets will wrap around when doing keyboard navigation, such as menus, menubars and notebooks.
bool gtkLabelSelectOnFocus() @property
void gtkLabelSelectOnFocus(bool propval) @property
uint gtkLongPressTime() @propertyGet `gtkLongPressTime` property. Returns: The time for a button or touch press to be considered a "long press".
void gtkLongPressTime(uint propval) @propertySet `gtkLongPressTime` property. Params: propval = The time for a button or touch press to be considered a "long press".
string gtkMenuBarAccel() @propertyGet `gtkMenuBarAccel` property. Returns: Keybinding to activate the menu bar.
void gtkMenuBarAccel(string propval) @propertySet `gtkMenuBarAccel` property. Params: propval = Keybinding to activate the menu bar.
int gtkMenuBarPopupDelay() @propertyGet `gtkMenuBarPopupDelay` property. Returns: Delay before the submenus of a menu bar appear.
void gtkMenuBarPopupDelay(int propval) @propertySet `gtkMenuBarPopupDelay` property. Params: propval = Delay before the submenus of a menu bar appear.
bool gtkMenuImages() @propertyGet `gtkMenuImages` property. Returns: Whether images should be shown in menu items
void gtkMenuImages(bool propval) @propertySet `gtkMenuImages` property. Params: propval = Whether images should be shown in menu items
int gtkMenuPopdownDelay() @propertyGet `gtkMenuPopdownDelay` property. Returns: The time before hiding a submenu when the pointer is moving towards the submenu.
void gtkMenuPopdownDelay(int propval) @propertySet `gtkMenuPopdownDelay` property. Params: propval = The time before hiding a submenu when the pointer is moving towards the submenu.
int gtkMenuPopupDelay() @propertyGet `gtkMenuPopupDelay` property. Returns: Minimum time the pointer must stay over a menu item before the submenu appear.
void gtkMenuPopupDelay(int propval) @propertySet `gtkMenuPopupDelay` property. Params: propval = Minimum time the pointer must stay over a menu item before the submenu appear.
string gtkModules() @property
void gtkModules(string propval) @property
bool gtkOverlayScrolling() @propertyGet `gtkOverlayScrolling` property. Returns: Whether scrolled windows may use overlayed scrolling indicators. If this is set to false, scrolled windows will have permanent scrollbars.
void gtkOverlayScrolling(bool propval) @propertySet `gtkOverlayScrolling` property. Params: propval = Whether scrolled windows may use overlayed scrolling indicators. If this is set to false, scrolled windows will have permanent scrollbars.
bool gtkPrimaryButtonWarpsSlider() @propertyGet `gtkPrimaryButtonWarpsSlider` property. Returns: If the value of this setting is true, clicking the primary button in a #GtkRange trough will move the slider, and hence set the range’s value,...
void gtkPrimaryButtonWarpsSlider(bool propval) @propertySet `gtkPrimaryButtonWarpsSlider` property. Params: propval = If the value of this setting is true, clicking the primary button in a #GtkRange trough will move the slider, and hence set the rangeâ€...
string gtkPrintBackends() @propertyGet `gtkPrintBackends` property. Returns: 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", "cup...
void gtkPrintBackends(string propval) @propertySet `gtkPrintBackends` property. Params: propval = A comma-separated list of print backends to use in the print dialog. Available print backends depend on the GTK+ installation, and may include "fi...
string gtkPrintPreviewCommand() @propertyGet `gtkPrintPreviewCommand` property. Returns: 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 fil...
void gtkPrintPreviewCommand(string propval) @propertySet `gtkPrintPreviewCommand` property. Params: propval = A command to run for displaying the print preview. The command should contain a ``f`` placeholder, which will get replaced by the path to th...
bool gtkRecentFilesEnabled() @propertyGet `gtkRecentFilesEnabled` property. Returns: Whether GTK+ should keep track of items inside the recently used resources list. If set to false, the list will always be empty.
void gtkRecentFilesEnabled(bool propval) @propertySet `gtkRecentFilesEnabled` property. Params: propval = Whether GTK+ should keep track of items inside the recently used resources list. If set to false, the list will always be empty.
int gtkRecentFilesLimit() @propertyGet `gtkRecentFilesLimit` property. Returns: The number of recently used files that should be displayed by default by #GtkRecentChooser implementations and by the #GtkFileChooser. A value of -1 mea...
void gtkRecentFilesLimit(int propval) @propertySet `gtkRecentFilesLimit` property. Params: propval = The number of recently used files that should be displayed by default by #GtkRecentChooser implementations and by the #GtkFileChooser. A value ...
int gtkRecentFilesMaxAge() @propertyGet `gtkRecentFilesMaxAge` property. Returns: 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 ...
void gtkRecentFilesMaxAge(int propval) @propertySet `gtkRecentFilesMaxAge` property. Params: propval = 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. I...
gtk.types.CornerType gtkScrolledWindowPlacement() @propertyGet `gtkScrolledWindowPlacement` property. Returns: Where the contents of scrolled windows are located with respect to the scrollbars, if not overridden by the scrolled window's own placement.
void gtkScrolledWindowPlacement(gtk.types.CornerType propval) @propertySet `gtkScrolledWindowPlacement` property. Params: propval = Where the contents of scrolled windows are located with respect to the scrollbars, if not overridden by the scrolled window's own placem...
bool gtkShellShowsAppMenu() @property
void gtkShellShowsAppMenu(bool propval) @property
bool gtkShellShowsDesktop() @property
void gtkShellShowsDesktop(bool propval) @property
bool gtkShellShowsMenubar() @property
void gtkShellShowsMenubar(bool propval) @property
bool gtkShowInputMethodMenu() @property
void gtkShowInputMethodMenu(bool propval) @property
bool gtkShowUnicodeMenu() @property
void gtkShowUnicodeMenu(bool propval) @property
string gtkSoundThemeName() @propertyGet `gtkSoundThemeName` property. Returns: The XDG sound theme to use for event sounds.
void gtkSoundThemeName(string propval) @propertySet `gtkSoundThemeName` property. Params: propval = The XDG sound theme to use for event sounds.
bool gtkSplitCursor() @property
void gtkSplitCursor(bool propval) @property
string gtkThemeName() @property
void gtkThemeName(string propval) @property
int gtkTimeoutExpand() @property
void gtkTimeoutExpand(int propval) @property
int gtkTimeoutInitial() @property
void gtkTimeoutInitial(int propval) @property
int gtkTimeoutRepeat() @property
void gtkTimeoutRepeat(int propval) @property
string gtkTitlebarDoubleClick() @propertyGet `gtkTitlebarDoubleClick` property. Returns: This setting determines the action to take when a double-click occurs on the titlebar of client-side decorated windows.
void gtkTitlebarDoubleClick(string propval) @propertySet `gtkTitlebarDoubleClick` property. Params: propval = This setting determines the action to take when a double-click occurs on the titlebar of client-side decorated windows.
string gtkTitlebarMiddleClick() @propertyGet `gtkTitlebarMiddleClick` property. Returns: This setting determines the action to take when a middle-click occurs on the titlebar of client-side decorated windows.
void gtkTitlebarMiddleClick(string propval) @propertySet `gtkTitlebarMiddleClick` property. Params: propval = This setting determines the action to take when a middle-click occurs on the titlebar of client-side decorated windows.
string gtkTitlebarRightClick() @propertyGet `gtkTitlebarRightClick` property. Returns: This setting determines the action to take when a right-click occurs on the titlebar of client-side decorated windows.
void gtkTitlebarRightClick(string propval) @propertySet `gtkTitlebarRightClick` property. Params: propval = This setting determines the action to take when a right-click occurs on the titlebar of client-side decorated windows.
gtk.types.IconSize gtkToolbarIconSize() @propertyGet `gtkToolbarIconSize` property. Returns: The size of icons in default toolbars.
void gtkToolbarIconSize(gtk.types.IconSize propval) @propertySet `gtkToolbarIconSize` property. Params: propval = The size of icons in default toolbars.
gtk.types.ToolbarStyle gtkToolbarStyle() @propertyGet `gtkToolbarStyle` property. Returns: The size of icons in default toolbars.
void gtkToolbarStyle(gtk.types.ToolbarStyle propval) @propertySet `gtkToolbarStyle` property. Params: propval = The size of icons in default toolbars.
int gtkTooltipBrowseModeTimeout() @propertyGet `gtkTooltipBrowseModeTimeout` property. Returns: Amount of time, in milliseconds, after which the browse mode will be disabled.
void gtkTooltipBrowseModeTimeout(int propval) @propertySet `gtkTooltipBrowseModeTimeout` property. Params: propval = Amount of time, in milliseconds, after which the browse mode will be disabled.
int gtkTooltipBrowseTimeout() @propertyGet `gtkTooltipBrowseTimeout` property. Returns: Controls the time after which tooltips will appear when browse mode is enabled, in milliseconds.
void gtkTooltipBrowseTimeout(int propval) @propertySet `gtkTooltipBrowseTimeout` property. Params: propval = Controls the time after which tooltips will appear when browse mode is enabled, in milliseconds.
int gtkTooltipTimeout() @propertyGet `gtkTooltipTimeout` property. Returns: Time, in milliseconds, after which a tooltip could appear if the cursor is hovering on top of a widget.
void gtkTooltipTimeout(int propval) @propertySet `gtkTooltipTimeout` property. Params: propval = Time, in milliseconds, after which a tooltip could appear if the cursor is hovering on top of a widget.
bool gtkTouchscreenMode() @propertyGet `gtkTouchscreenMode` property. Returns: 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.
void gtkTouchscreenMode(bool propval) @propertySet `gtkTouchscreenMode` property. Params: propval = When true, there are no motion notify events delivered on this screen, and widgets can't use the pointer hovering them for any essential functio...
gtk.types.PolicyType gtkVisibleFocus() @propertyGet `gtkVisibleFocus` property. Returns: Whether 'focus rectangles' should be always visible, never visible, or hidden until the user starts to use the keyboard.
void gtkVisibleFocus(gtk.types.PolicyType propval) @propertySet `gtkVisibleFocus` property. Params: propval = Whether 'focus rectangles' should be always visible, never visible, or hidden until the user starts to use the keyboard.
int gtkXftAntialias() @property
void gtkXftAntialias(int propval) @property
int gtkXftDpi() @property
void gtkXftDpi(int propval) @property
int gtkXftHinting() @property
void gtkXftHinting(int propval) @property
string gtkXftHintstyle() @property
void gtkXftHintstyle(string propval) @property
string gtkXftRgba() @property
void gtkXftRgba(string propval) @property
gtk.settings.Settings getDefault()Gets the #GtkSettings object for the default GDK screen, creating it if necessary. See [gtk.settings.Settings.getForScreen]. Returns: a #GtkSettings object. If there is no default screen, then retu...
gtk.settings.Settings getForScreen(gdk.screen.Screen screen)Gets the #GtkSettings object for screen, creating it if necessary.
void resetProperty(string name)Undoes the effect of calling [gobject.object.ObjectWrap.set] to install an application-specific value for a setting. After this call, the setting will again follow the session-wide value for this s...
void setDoubleProperty(string name, double vDouble, string origin)
void setLongProperty(string name, glong vLong, string origin)
void setStringProperty(string name, string vString, string origin)
Constructors
this(void * ptr, Flag!"Take" take)
Methods
T gtkAlternativeSortArrows(bool propval)Set `gtkAlternativeSortArrows` property. Params: propval = Controls the direction of the sort indicators in sorted list and tree views. By default an arrow pointing down means the column is sorted ...
T gtkApplicationPreferDarkTheme(bool propval)Set `gtkApplicationPreferDarkTheme` property. Params: propval = Whether the application prefers to use a dark theme. If a GTK+ theme includes a dark variant, it will be used instead of the configur...
T gtkAutoMnemonics(bool propval)Set `gtkAutoMnemonics` property. Params: propval = Whether mnemonics should be automatically shown and hidden when the user presses the mnemonic activator. Returns: Builder instance for fluent chai...
T gtkButtonImages(bool propval)Set `gtkButtonImages` property. Params: propval = Whether images should be shown on buttons Returns: Builder instance for fluent chaining
T gtkCanChangeAccels(bool propval)Set `gtkCanChangeAccels` property. Params: propval = Whether menu accelerators can be changed by pressing a key over the menu item. Returns: Builder instance for fluent chaining
T gtkColorPalette(string propval)Set `gtkColorPalette` property. Params: propval = Palette to use in the deprecated color selector. Returns: Builder instance for fluent chaining
T gtkColorScheme(string propval)Set `gtkColorScheme` property. Params: propval = 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 i...
T gtkCursorAspectRatio(float propval)
T gtkCursorBlink(bool propval)Set `gtkCursorBlink` property. Params: propval = Whether the cursor should blink.
T gtkCursorBlinkTime(int propval)
T gtkCursorBlinkTimeout(int propval)Set `gtkCursorBlinkTimeout` property. Params: propval = Time after which the cursor stops blinking, in seconds. The timer is reset after each user interaction.
T gtkCursorThemeName(string propval)
T gtkCursorThemeSize(int propval)
T gtkDecorationLayout(string propval)Set `gtkDecorationLayout` property. Params: propval = This setting determines which buttons should be put in the titlebar of client-side decorated windows, and whether they should be placed at the ...
T gtkDialogsUseHeader(bool propval)Set `gtkDialogsUseHeader` property. Params: propval = Whether builtin GTK+ dialogs such as the file chooser, the color chooser or the font chooser will use a header bar at the top to show action wi...
T gtkDndDragThreshold(int propval)
T gtkDoubleClickDistance(int propval)
T gtkDoubleClickTime(int propval)
T gtkEnableAccels(bool propval)Set `gtkEnableAccels` property. Params: propval = Whether menu items should have visible accelerators which can be activated. Returns: Builder instance for fluent chaining
T gtkEnableAnimations(bool propval)
T gtkEnableEventSounds(bool propval)Set `gtkEnableEventSounds` property. Params: propval = Whether to play any event sounds at all.
T gtkEnableInputFeedbackSounds(bool propval)Set `gtkEnableInputFeedbackSounds` property. Params: propval = Whether to play event sounds as feedback to user input.
T gtkEnableMnemonics(bool propval)Set `gtkEnableMnemonics` property. Params: propval = Whether labels and menu items should have visible mnemonics which can be activated. Returns: Builder instance for fluent chaining
T gtkEnablePrimaryPaste(bool propval)Set `gtkEnablePrimaryPaste` property. Params: propval = Whether a middle click on a mouse should paste the 'PRIMARY' clipboard content at the cursor location. Returns: Builder instance for fluent c...
T gtkEnableTooltips(bool propval)Set `gtkEnableTooltips` property. Params: propval = Whether tooltips should be shown on widgets. Returns: Builder instance for fluent chaining
T gtkEntryPasswordHintTimeout(uint propval)Set `gtkEntryPasswordHintTimeout` property. Params: propval = 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 ...
T gtkEntrySelectOnFocus(bool propval)
T gtkErrorBell(bool propval)Set `gtkErrorBell` property. Params: propval = When true, keyboard navigation and other input-related errors will cause a beep. Since the error bell is implemented using [gdk.window.Window.beep], t...
T gtkFallbackIconTheme(string propval)Set `gtkFallbackIconTheme` property. Params: propval = Name of a icon theme to fall back to. Returns: Builder instance for fluent chaining
T gtkFileChooserBackend(string propval)Set `gtkFileChooserBackend` property. Params: propval = Name of the GtkFileChooser backend to use by default. Returns: Builder instance for fluent chaining
T gtkFontName(string propval)Set `gtkFontName` property. Params: propval = The default font to use. GTK+ uses the family name and size from this string. Returns: Builder instance for fluent chaining
T gtkFontconfigTimestamp(uint propval)
T gtkIconSizes(string propval)Set `gtkIconSizes` property. Params: propval = A list of icon sizes. The list is separated by colons, and item has the form:
T gtkIconThemeName(string propval)
T gtkImModule(string propval)Set `gtkImModule` property. Params: propval = 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 inpu...
T gtkImPreeditStyle(gtk.types.IMPreeditStyle propval)Set `gtkImPreeditStyle` property. Params: propval = How to draw the input method preedit string. Returns: Builder instance for fluent chaining
T gtkImStatusStyle(gtk.types.IMStatusStyle propval)Set `gtkImStatusStyle` property. Params: propval = How to draw the input method statusbar. Returns: Builder instance for fluent chaining
T gtkKeyThemeName(string propval)
T gtkKeynavCursorOnly(bool propval)Set `gtkKeynavCursorOnly` property. Params: propval = 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 ...
T gtkKeynavUseCaret(bool propval)Set `gtkKeynavUseCaret` property. Params: propval = Whether GTK+ should make sure that text can be navigated with a caret, even if it is not editable. This is useful when using a screen reader. Ret...
T gtkKeynavWrapAround(bool propval)Set `gtkKeynavWrapAround` property. Params: propval = When true, some widgets will wrap around when doing keyboard navigation, such as menus, menubars and notebooks. Returns: Builder instance for f...
T gtkLabelSelectOnFocus(bool propval)
T gtkLongPressTime(uint propval)Set `gtkLongPressTime` property. Params: propval = The time for a button or touch press to be considered a "long press". Returns: Builder instance for fluent chaining
T gtkMenuBarAccel(string propval)Set `gtkMenuBarAccel` property. Params: propval = Keybinding to activate the menu bar. Returns: Builder instance for fluent chaining
T gtkMenuBarPopupDelay(int propval)Set `gtkMenuBarPopupDelay` property. Params: propval = Delay before the submenus of a menu bar appear. Returns: Builder instance for fluent chaining
T gtkMenuImages(bool propval)Set `gtkMenuImages` property. Params: propval = Whether images should be shown in menu items Returns: Builder instance for fluent chaining
T gtkMenuPopdownDelay(int propval)Set `gtkMenuPopdownDelay` property. Params: propval = The time before hiding a submenu when the pointer is moving towards the submenu. Returns: Builder instance for fluent chaining
T gtkMenuPopupDelay(int propval)Set `gtkMenuPopupDelay` property. Params: propval = Minimum time the pointer must stay over a menu item before the submenu appear. Returns: Builder instance for fluent chaining
T gtkModules(string propval)
T gtkOverlayScrolling(bool propval)Set `gtkOverlayScrolling` property. Params: propval = Whether scrolled windows may use overlayed scrolling indicators. If this is set to false, scrolled windows will have permanent scrollbars. Retu...
T gtkPrimaryButtonWarpsSlider(bool propval)Set `gtkPrimaryButtonWarpsSlider` property. Params: propval = If the value of this setting is true, clicking the primary button in a #GtkRange trough will move the slider, and hence set the rangeâ€...
T gtkPrintBackends(string propval)Set `gtkPrintBackends` property. Params: propval = A comma-separated list of print backends to use in the print dialog. Available print backends depend on the GTK+ installation, and may include "fi...
T gtkPrintPreviewCommand(string propval)Set `gtkPrintPreviewCommand` property. Params: propval = A command to run for displaying the print preview. The command should contain a ``f`` placeholder, which will get replaced by the path to th...
T gtkRecentFilesEnabled(bool propval)Set `gtkRecentFilesEnabled` property. Params: propval = Whether GTK+ should keep track of items inside the recently used resources list. If set to false, the list will always be empty. Returns: Bui...
T gtkRecentFilesLimit(int propval)Set `gtkRecentFilesLimit` property. Params: propval = The number of recently used files that should be displayed by default by #GtkRecentChooser implementations and by the #GtkFileChooser. A value ...
T gtkRecentFilesMaxAge(int propval)Set `gtkRecentFilesMaxAge` property. Params: propval = 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. I...
T gtkScrolledWindowPlacement(gtk.types.CornerType propval)Set `gtkScrolledWindowPlacement` property. Params: propval = Where the contents of scrolled windows are located with respect to the scrollbars, if not overridden by the scrolled window's own placem...
T gtkShellShowsAppMenu(bool propval)
T gtkShellShowsDesktop(bool propval)
T gtkShellShowsMenubar(bool propval)
T gtkShowInputMethodMenu(bool propval)
T gtkShowUnicodeMenu(bool propval)
T gtkSoundThemeName(string propval)Set `gtkSoundThemeName` property. Params: propval = The XDG sound theme to use for event sounds.
T gtkSplitCursor(bool propval)
T gtkThemeName(string propval)
T gtkTimeoutExpand(int propval)
T gtkTimeoutInitial(int propval)
T gtkTimeoutRepeat(int propval)
T gtkTitlebarDoubleClick(string propval)Set `gtkTitlebarDoubleClick` property. Params: propval = This setting determines the action to take when a double-click occurs on the titlebar of client-side decorated windows.
T gtkTitlebarMiddleClick(string propval)Set `gtkTitlebarMiddleClick` property. Params: propval = This setting determines the action to take when a middle-click occurs on the titlebar of client-side decorated windows.
T gtkTitlebarRightClick(string propval)Set `gtkTitlebarRightClick` property. Params: propval = This setting determines the action to take when a right-click occurs on the titlebar of client-side decorated windows.
T gtkToolbarIconSize(gtk.types.IconSize propval)Set `gtkToolbarIconSize` property. Params: propval = The size of icons in default toolbars. Returns: Builder instance for fluent chaining
T gtkToolbarStyle(gtk.types.ToolbarStyle propval)Set `gtkToolbarStyle` property. Params: propval = The size of icons in default toolbars. Returns: Builder instance for fluent chaining
T gtkTooltipBrowseModeTimeout(int propval)Set `gtkTooltipBrowseModeTimeout` property. Params: propval = Amount of time, in milliseconds, after which the browse mode will be disabled.
T gtkTooltipBrowseTimeout(int propval)Set `gtkTooltipBrowseTimeout` property. Params: propval = Controls the time after which tooltips will appear when browse mode is enabled, in milliseconds.
T gtkTooltipTimeout(int propval)Set `gtkTooltipTimeout` property. Params: propval = Time, in milliseconds, after which a tooltip could appear if the cursor is hovering on top of a widget. Returns: Builder instance for fluent chai...
T gtkTouchscreenMode(bool propval)Set `gtkTouchscreenMode` property. Params: propval = When true, there are no motion notify events delivered on this screen, and widgets can't use the pointer hovering them for any essential functio...
T gtkVisibleFocus(gtk.types.PolicyType propval)Set `gtkVisibleFocus` property. Params: propval = Whether 'focus rectangles' should be always visible, never visible, or hidden until the user starts to use the keyboard. Returns: Builder instance ...
T gtkXftAntialias(int propval)
T gtkXftDpi(int propval)
T gtkXftHinting(int propval)
T gtkXftHintstyle(string propval)
T gtkXftRgba(string propval)

Fluent builder for [gtk.settings.Settings]

Methods