gtk.settings
Module for [Settings] class
Types 3
[gtk.settings.Settings] provides a mechanism to share global settings between applications.
On the X window system, this sharing is realized by an
XSettingsmanager that is usually part of the desktop environment, along with utilities that let the user change these settings.
On Wayland, the settings are obtained either via a settings portal, or by reading desktop settings from DConf.
On macOS, the settings are obtained from NSUserDefaults.
In the absence of these sharing mechanisms, GTK reads default values for settings from settings.ini files in /etc/gtk-4.0, $XDG_CONFIG_DIRS/gtk-4.0 and $XDG_CONFIG_HOME/gtk-4.0. These files must be valid key files (see [glib.key_file.KeyFile]), 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 [gtk.settings.Settings] object with [gobject.object.ObjectWrap.set]. This should be restricted to special cases though; [gtk.settings.Settings] are not meant as an application configuration facility.
There is one [gtk.settings.Settings] instance per display. It can be obtained with [gtk.settings.Settings.getForDisplay], but in many cases, it is more convenient to use [gtk.widget.Widget.getSettings].
SettingsGidBuilder builder()Get builder for [gtk.settings.Settings] Returns: New builder objectbool gtkAlternativeButtonOrder() @propertyGet `gtkAlternativeButtonOrder` property. Returns: Whether buttons in dialogs should use the alternative button order.void gtkAlternativeButtonOrder(bool propval) @propertySet `gtkAlternativeButtonOrder` property. Params: propval = Whether buttons in dialogs should use the alternative button order.bool gtkAlternativeSortArrows() @propertyGet `gtkAlternativeSortArrows` property. Returns: Controls the direction of the sort indicators in sorted list and tree views.void gtkAlternativeSortArrows(bool propval) @propertySet `gtkAlternativeSortArrows` property. Params: propval = Controls the direction of the sort indicators in sorted list and tree views.bool gtkApplicationPreferDarkTheme() @propertyGet `gtkApplicationPreferDarkTheme` property. Returns: Whether the application prefers to use a dark theme.void gtkApplicationPreferDarkTheme(bool propval) @propertySet `gtkApplicationPreferDarkTheme` property. Params: propval = Whether the application prefers to use a dark theme.double gtkCursorAspectRatio() @propertyGet `gtkCursorAspectRatio` property. Returns: The aspect ratio of the text caret.void gtkCursorAspectRatio(double propval) @propertySet `gtkCursorAspectRatio` property. Params: propval = The aspect ratio of the text caret.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() @propertyGet `gtkCursorBlinkTime` property. Returns: Length of the cursor blink cycle, in milliseconds.void gtkCursorBlinkTime(int propval) @propertySet `gtkCursorBlinkTime` property. Params: propval = Length of the cursor blink cycle, in milliseconds.int gtkCursorBlinkTimeout() @propertyGet `gtkCursorBlinkTimeout` property. Returns: Time after which the cursor stops blinking, in seconds.void gtkCursorBlinkTimeout(int propval) @propertySet `gtkCursorBlinkTimeout` property. Params: propval = Time after which the cursor stops blinking, in seconds.string gtkCursorThemeName() @propertyGet `gtkCursorThemeName` property. Returns: Name of the cursor theme to use.void gtkCursorThemeName(string propval) @propertySet `gtkCursorThemeName` property. Params: propval = Name of the cursor theme to use.int gtkCursorThemeSize() @propertyGet `gtkCursorThemeSize` property. Returns: The size to use for cursors.void gtkCursorThemeSize(int propval) @propertySet `gtkCursorThemeSize` property. Params: propval = The size to use for cursors.string gtkDecorationLayout() @propertyGet `gtkDecorationLayout` property. Returns: Determines which buttons should be put in the titlebar of client-side decorated windows, and whether they should be placed on the left or right.void gtkDecorationLayout(string propval) @propertySet `gtkDecorationLayout` property. Params: propval = Determines which buttons should be put in the titlebar of client-side decorated windows, and whether they should be placed on the left or right.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 wid...int gtkDndDragThreshold() @propertyGet `gtkDndDragThreshold` property. Returns: The number of pixels the cursor can move before dragging.void gtkDndDragThreshold(int propval) @propertySet `gtkDndDragThreshold` property. Params: propval = The number of pixels the cursor can move before dragging.int gtkDoubleClickDistance() @propertyGet `gtkDoubleClickDistance` property. Returns: The maximum distance allowed between two clicks for them to be considered a double click, in pixels.void gtkDoubleClickDistance(int propval) @propertySet `gtkDoubleClickDistance` property. Params: propval = The maximum distance allowed between two clicks for them to be considered a double click, in pixels.int gtkDoubleClickTime() @propertyGet `gtkDoubleClickTime` property. Returns: The maximum time to allow between two clicks for them to be considered a double click, in milliseconds.void gtkDoubleClickTime(int propval) @propertySet `gtkDoubleClickTime` property. Params: propval = The maximum time to allow between two clicks for them to be considered a double click, in milliseconds.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() @propertyGet `gtkEnableAnimations` property. Returns: Whether to enable toolkit-wide animations.void gtkEnableAnimations(bool propval) @propertySet `gtkEnableAnimations` property. Params: propval = Whether to enable toolkit-wide animations.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 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.uint gtkEntryPasswordHintTimeout() @propertyGet `gtkEntryPasswordHintTimeout` property. Returns: How long to show the last input character in hidden entries.void gtkEntryPasswordHintTimeout(uint propval) @propertySet `gtkEntryPasswordHintTimeout` property. Params: propval = How long to show the last input character in hidden entries.bool gtkEntrySelectOnFocus() @propertyGet `gtkEntrySelectOnFocus` property. Returns: Whether to select the contents of an entry when it is focused.void gtkEntrySelectOnFocus(bool propval) @propertySet `gtkEntrySelectOnFocus` property. Params: propval = Whether to select the contents of an entry when it is focused.bool gtkErrorBell() @propertyGet `gtkErrorBell` property. Returns: When true, keyboard navigation and other input-related errors will cause a beep.void gtkErrorBell(bool propval) @propertySet `gtkErrorBell` property. Params: propval = When true, keyboard navigation and other input-related errors will cause a beep.void gtkFontName(string propval) @propertySet `gtkFontName` property. Params: propval = The default font to use.uint gtkFontconfigTimestamp() @propertyGet `gtkFontconfigTimestamp` property. Returns: Timestamp of the current fontconfig configuration.void gtkFontconfigTimestamp(uint propval) @propertySet `gtkFontconfigTimestamp` property. Params: propval = Timestamp of the current fontconfig configuration.bool gtkHintFontMetrics() @propertyGet `gtkHintFontMetrics` property. Returns: Whether hinting should be applied to font metrics.void gtkHintFontMetrics(bool propval) @propertySet `gtkHintFontMetrics` property. Params: propval = Whether hinting should be applied to font metrics.string gtkIconThemeName() @propertyGet `gtkIconThemeName` property. Returns: Name of the icon theme to use.void gtkIconThemeName(string propval) @propertySet `gtkIconThemeName` property. Params: propval = Name of the icon theme to use.string gtkImModule() @propertyGet `gtkImModule` property. Returns: Which IM (input method) module should be used by default.void gtkImModule(string propval) @propertySet `gtkImModule` property. Params: propval = Which IM (input method) module should be used by default.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.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.bool gtkLabelSelectOnFocus() @propertyGet `gtkLabelSelectOnFocus` property. Returns: Whether to select the contents of a selectable label when it is focused.void gtkLabelSelectOnFocus(bool propval) @propertySet `gtkLabelSelectOnFocus` property. Params: propval = Whether to select the contents of a selectable label when it is focused.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”.bool gtkOverlayScrolling() @propertyGet `gtkOverlayScrolling` property. Returns: Whether scrolled windows may use overlaid scrolling indicators.void gtkOverlayScrolling(bool propval) @propertySet `gtkOverlayScrolling` property. Params: propval = Whether scrolled windows may use overlaid scrolling indicators.bool gtkPrimaryButtonWarpsSlider() @propertyGet `gtkPrimaryButtonWarpsSlider` property. Returns: If the value of this setting is true, clicking the primary button in a [gtk.range.Range] trough will move the slider, and hence set the range’...void gtkPrimaryButtonWarpsSlider(bool propval) @propertySet `gtkPrimaryButtonWarpsSlider` property. Params: propval = If the value of this setting is true, clicking the primary button in a [gtk.range.Range] trough will move the slider, and hence set the...string gtkPrintBackends() @propertyGet `gtkPrintBackends` property. Returns: A comma-separated list of print backends to use in the print dialog.void gtkPrintBackends(string propval) @propertySet `gtkPrintBackends` property. Params: propval = A comma-separated list of print backends to use in the print dialog.string gtkPrintPreviewCommand() @propertyGet `gtkPrintPreviewCommand` property. Returns: A command to run for displaying the print preview.void gtkPrintPreviewCommand(string propval) @propertySet `gtkPrintPreviewCommand` property. Params: propval = A command to run for displaying the print preview.bool gtkRecentFilesEnabled() @propertyGet `gtkRecentFilesEnabled` property. Returns: Whether GTK should keep track of items inside the recently used resources list.void gtkRecentFilesEnabled(bool propval) @propertySet `gtkRecentFilesEnabled` property. Params: propval = Whether GTK should keep track of items inside the recently used resources list.int gtkRecentFilesMaxAge() @propertyGet `gtkRecentFilesMaxAge` property. Returns: The maximum age, in days, of the items inside the recently used resources list.void gtkRecentFilesMaxAge(int propval) @propertySet `gtkRecentFilesMaxAge` property. Params: propval = The maximum age, in days, of the items inside the recently used resources list.bool gtkShellShowsAppMenu() @propertyGet `gtkShellShowsAppMenu` property. Returns: Set to true if the desktop environment is displaying the app menu, false if the app should display it itself.void gtkShellShowsAppMenu(bool propval) @propertySet `gtkShellShowsAppMenu` property. Params: propval = Set to true if the desktop environment is displaying the app menu, false if the app should display it itself.bool gtkShellShowsDesktop() @propertyGet `gtkShellShowsDesktop` property. Returns: Set to true if the desktop environment is displaying the desktop folder, false if not.void gtkShellShowsDesktop(bool propval) @propertySet `gtkShellShowsDesktop` property. Params: propval = Set to true if the desktop environment is displaying the desktop folder, false if not.bool gtkShellShowsMenubar() @propertyGet `gtkShellShowsMenubar` property. Returns: Set to true if the desktop environment is displaying the menubar, false if the app should display it itself.void gtkShellShowsMenubar(bool propval) @propertySet `gtkShellShowsMenubar` property. Params: propval = Set to true if the desktop environment is displaying the menubar, false if the app should display it itself.bool gtkShowStatusShapes() @propertyGet `gtkShowStatusShapes` property. Returns: When true, widgets like switches include shapes to indicate their on/off state.void gtkShowStatusShapes(bool propval) @propertySet `gtkShowStatusShapes` property. Params: propval = When true, widgets like switches include shapes to indicate their on/off state.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() @propertyGet `gtkSplitCursor` property. Returns: Whether two cursors should be displayed for mixed left-to-right and right-to-left text.void gtkSplitCursor(bool propval) @propertySet `gtkSplitCursor` property. Params: propval = Whether two cursors should be displayed for mixed left-to-right and right-to-left text.void gtkThemeName(string propval) @propertySet `gtkThemeName` property. Params: propval = Name of the theme to load.string gtkTitlebarDoubleClick() @propertyGet `gtkTitlebarDoubleClick` property. Returns: 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 = Determines the action to take when a double-click occurs on the titlebar of client-side decorated windows.string gtkTitlebarMiddleClick() @propertyGet `gtkTitlebarMiddleClick` property. Returns: 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 = Determines the action to take when a middle-click occurs on the titlebar of client-side decorated windows.string gtkTitlebarRightClick() @propertyGet `gtkTitlebarRightClick` property. Returns: 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 = Determines the action to take when a right-click occurs on the titlebar of client-side decorated windows.void gtkXftAntialias(int propval) @propertySet `gtkXftAntialias` property. Params: propval = Whether to antialias fonts.int gtkXftDpi() @propertyGet `gtkXftDpi` property. Returns: The font resolution, in 1024 * dots/inch.void gtkXftDpi(int propval) @propertySet `gtkXftDpi` property. Params: propval = The font resolution, in 1024 * dots/inch.void gtkXftHinting(int propval) @propertySet `gtkXftHinting` property. Params: propval = Whether to enable font hinting.string gtkXftHintstyle() @propertyGet `gtkXftHintstyle` property. Returns: What degree of font hinting to use.void gtkXftHintstyle(string propval) @propertySet `gtkXftHintstyle` property. Params: propval = What degree of font hinting to use.string gtkXftRgba() @propertyGet `gtkXftRgba` property. Returns: The type of subpixel antialiasing to use.void gtkXftRgba(string propval) @propertySet `gtkXftRgba` property. Params: propval = The type of subpixel antialiasing to use.gtk.settings.Settings getDefault()Gets the [gtk.settings.Settings] object for the default display, creating it if necessary.gtk.settings.Settings getForDisplay(gdk.display.Display display)Gets the [gtk.settings.Settings] object for display, 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.T gtkAlternativeButtonOrder(bool propval)Set `gtkAlternativeButtonOrder` property. Params: propval = Whether buttons in dialogs should use the alternative button order. Returns: Builder instance for fluent chainingT gtkAlternativeSortArrows(bool propval)Set `gtkAlternativeSortArrows` property. Params: propval = Controls the direction of the sort indicators in sorted list and tree views.T gtkApplicationPreferDarkTheme(bool propval)Set `gtkApplicationPreferDarkTheme` property. Params: propval = Whether the application prefers to use a dark theme.T gtkCursorAspectRatio(double propval)Set `gtkCursorAspectRatio` property. Params: propval = The aspect ratio of the text caret. Returns: Builder instance for fluent chainingT gtkCursorBlink(bool propval)Set `gtkCursorBlink` property. Params: propval = Whether the cursor should blink.T gtkCursorBlinkTime(int propval)Set `gtkCursorBlinkTime` property. Params: propval = Length of the cursor blink cycle, in milliseconds. Returns: Builder instance for fluent chainingT gtkCursorBlinkTimeout(int propval)Set `gtkCursorBlinkTimeout` property. Params: propval = Time after which the cursor stops blinking, in seconds.T gtkCursorThemeName(string propval)Set `gtkCursorThemeName` property. Params: propval = Name of the cursor theme to use.T gtkCursorThemeSize(int propval)Set `gtkCursorThemeSize` property. Params: propval = The size to use for cursors.T gtkDecorationLayout(string propval)Set `gtkDecorationLayout` property. Params: propval = Determines which buttons should be put in the titlebar of client-side decorated windows, and whether they should be placed on the left or right.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 wid...T gtkDndDragThreshold(int propval)Set `gtkDndDragThreshold` property. Params: propval = The number of pixels the cursor can move before dragging. Returns: Builder instance for fluent chainingT gtkDoubleClickDistance(int propval)Set `gtkDoubleClickDistance` property. Params: propval = The maximum distance allowed between two clicks for them to be considered a double click, in pixels. Returns: Builder instance for fluent ch...T gtkDoubleClickTime(int propval)Set `gtkDoubleClickTime` property. Params: propval = The maximum time to allow between two clicks for them to be considered a double click, in milliseconds. Returns: Builder instance for fluent cha...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 chainingT gtkEnableAnimations(bool propval)Set `gtkEnableAnimations` property. Params: propval = Whether to enable toolkit-wide animations. Returns: Builder instance for fluent chainingT 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 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 gtkEntryPasswordHintTimeout(uint propval)Set `gtkEntryPasswordHintTimeout` property. Params: propval = How long to show the last input character in hidden entries.T gtkEntrySelectOnFocus(bool propval)Set `gtkEntrySelectOnFocus` property. Params: propval = Whether to select the contents of an entry when it is focused. Returns: Builder instance for fluent chainingT gtkErrorBell(bool propval)Set `gtkErrorBell` property. Params: propval = When true, keyboard navigation and other input-related errors will cause a beep.T gtkFontName(string propval)Set `gtkFontName` property. Params: propval = The default font to use.T gtkFontconfigTimestamp(uint propval)Set `gtkFontconfigTimestamp` property. Params: propval = Timestamp of the current fontconfig configuration. Returns: Builder instance for fluent chainingT gtkHintFontMetrics(bool propval)Set `gtkHintFontMetrics` property. Params: propval = Whether hinting should be applied to font metrics.T gtkIconThemeName(string propval)Set `gtkIconThemeName` property. Params: propval = Name of the icon theme to use.T gtkImModule(string propval)Set `gtkImModule` property. Params: propval = Which IM (input method) module should be used by default.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.T gtkLabelSelectOnFocus(bool propval)Set `gtkLabelSelectOnFocus` property. Params: propval = Whether to select the contents of a selectable label when it is focused. Returns: Builder instance for fluent chainingT gtkLongPressTime(uint propval)Set `gtkLongPressTime` property. Params: propval = The time for a button or touch press to be considered a “long press”.T gtkOverlayScrolling(bool propval)Set `gtkOverlayScrolling` property. Params: propval = Whether scrolled windows may use overlaid scrolling indicators.T gtkPrimaryButtonWarpsSlider(bool propval)Set `gtkPrimaryButtonWarpsSlider` property. Params: propval = If the value of this setting is true, clicking the primary button in a [gtk.range.Range] trough will move the slider, and hence set the...T gtkPrintBackends(string propval)Set `gtkPrintBackends` property. Params: propval = A comma-separated list of print backends to use in the print dialog.T gtkPrintPreviewCommand(string propval)Set `gtkPrintPreviewCommand` property. Params: propval = A command to run for displaying the print preview.T gtkRecentFilesEnabled(bool propval)Set `gtkRecentFilesEnabled` property. Params: propval = Whether GTK should keep track of items inside the recently used resources list.T gtkRecentFilesMaxAge(int propval)Set `gtkRecentFilesMaxAge` property. Params: propval = The maximum age, in days, of the items inside the recently used resources list.T gtkShellShowsAppMenu(bool propval)Set `gtkShellShowsAppMenu` property. Params: propval = Set to true if the desktop environment is displaying the app menu, false if the app should display it itself. Returns: Builder instance for fl...T gtkShellShowsDesktop(bool propval)Set `gtkShellShowsDesktop` property. Params: propval = Set to true if the desktop environment is displaying the desktop folder, false if not. Returns: Builder instance for fluent chainingT gtkShellShowsMenubar(bool propval)Set `gtkShellShowsMenubar` property. Params: propval = Set to true if the desktop environment is displaying the menubar, false if the app should display it itself. Returns: Builder instance for flu...T gtkShowStatusShapes(bool propval)Set `gtkShowStatusShapes` property. Params: propval = When true, widgets like switches include shapes to indicate their on/off state. Returns: Builder instance for fluent chainingT gtkSoundThemeName(string propval)Set `gtkSoundThemeName` property. Params: propval = The XDG sound theme to use for event sounds.T gtkSplitCursor(bool propval)Set `gtkSplitCursor` property. Params: propval = Whether two cursors should be displayed for mixed left-to-right and right-to-left text. Returns: Builder instance for fluent chainingT gtkThemeName(string propval)Set `gtkThemeName` property. Params: propval = Name of the theme to load.T gtkTitlebarDoubleClick(string propval)Set `gtkTitlebarDoubleClick` property. Params: propval = 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 = 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 = Determines the action to take when a right-click occurs on the titlebar of client-side decorated windows.T gtkXftAntialias(int propval)Set `gtkXftAntialias` property. Params: propval = Whether to antialias fonts.T gtkXftDpi(int propval)Set `gtkXftDpi` property. Params: propval = The font resolution, in 1024 * dots/inch.T gtkXftHinting(int propval)Set `gtkXftHinting` property. Params: propval = Whether to enable font hinting.T gtkXftHintstyle(string propval)Set `gtkXftHintstyle` property. Params: propval = What degree of font hinting to use.T gtkXftRgba(string propval)Set `gtkXftRgba` property. Params: propval = The type of subpixel antialiasing to use.