gi-gtk4-4.0.12: Gtk 4.x bindings

Copyright | Will Thompson and Iñaki García Etxebarria
License | LGPL-2.1
Maintainer | Iñaki García Etxebarria
Safe Haskell | None
Language | Haskell2010

GI.Gtk.Objects.Settings

Contents

- Exported types
- Methods
  - getDefault
  - getForDisplay
  - resetProperty
- Properties
  - gtkAlternativeButtonOrder
  - gtkAlternativeSortArrows
  - gtkApplicationPreferDarkTheme
  - gtkCursorAspectRatio
  - gtkCursorBlink
  - gtkCursorBlinkTime
  - gtkCursorBlinkTimeout
  - gtkCursorThemeName
  - gtkCursorThemeSize
  - gtkDecorationLayout
  - gtkDialogsUseHeader
  - gtkDndDragThreshold
  - gtkDoubleClickDistance
  - gtkDoubleClickTime
  - gtkEnableAccels
  - gtkEnableAnimations
  - gtkEnableEventSounds
  - gtkEnableInputFeedbackSounds
  - gtkEnablePrimaryPaste
  - gtkEntryPasswordHintTimeout
  - gtkEntrySelectOnFocus
  - gtkErrorBell
  - gtkFontName
  - gtkFontRendering
  - gtkFontconfigTimestamp
  - gtkHintFontMetrics
  - gtkIconThemeName
  - gtkImModule
  - gtkInterfaceColorScheme
  - gtkInterfaceContrast
  - gtkInterfaceReducedMotion
  - gtkKeynavUseCaret
  - gtkLabelSelectOnFocus
  - gtkLongPressTime
  - gtkOverlayScrolling
  - gtkPrimaryButtonWarpsSlider
  - gtkPrintBackends
  - gtkPrintPreviewCommand
  - gtkRecentFilesEnabled
  - gtkRecentFilesMaxAge
  - gtkShellShowsAppMenu
  - gtkShellShowsDesktop
  - gtkShellShowsMenubar
  - gtkShowStatusShapes
  - gtkSoundThemeName
  - gtkSplitCursor
  - gtkThemeName
  - gtkTitlebarDoubleClick
  - gtkTitlebarMiddleClick
  - gtkTitlebarRightClick
  - gtkXftAntialias
  - gtkXftDpi
  - gtkXftHinting
  - gtkXftHintstyle
  - gtkXftRgba

Description

Provides a mechanism to share global settings between applications.

GTK relies on the platform-specific API for getting desktop-wide settings.

On Wayland, the settings are obtained via a settings portal that is part of the Linux desktop APIs for application.

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

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 `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 `g_object_set()`. This should be restricted to special cases though; `GtkSettings` are not meant as an application configuration facility.

There is one `GtkSettings` instance per display. It can be obtained with `settingsGetForDisplay`, but in many cases, it is more convenient to use `widgetGetSettings`.

Synopsis

- newtype Settings = Settings (ManagedPtr Settings)
- class (GObject o, IsDescendantOf Settings o) => IsSettings o
- toSettings :: (MonadIO m, IsSettings o) => o -> m Settings
- settingsGetDefault :: (HasCallStack, MonadIO m) => m (Maybe Settings)
- settingsGetForDisplay :: (HasCallStack, MonadIO m, IsDisplay a) => a -> m Settings
- settingsResetProperty :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m ()
- constructSettingsGtkAlternativeButtonOrder :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkAlternativeButtonOrder :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkAlternativeButtonOrder :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkAlternativeSortArrows :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkAlternativeSortArrows :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkAlternativeSortArrows :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkApplicationPreferDarkTheme :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkApplicationPreferDarkTheme :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkApplicationPreferDarkTheme :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkCursorAspectRatio :: (IsSettings o, MonadIO m) => Double -> m (GValueConstruct o)
- getSettingsGtkCursorAspectRatio :: (MonadIO m, IsSettings o) => o -> m Double
- setSettingsGtkCursorAspectRatio :: (MonadIO m, IsSettings o) => o -> Double -> m ()
- constructSettingsGtkCursorBlink :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkCursorBlink :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkCursorBlink :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkCursorBlinkTime :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkCursorBlinkTime :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkCursorBlinkTime :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkCursorBlinkTimeout :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkCursorBlinkTimeout :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkCursorBlinkTimeout :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- clearSettingsGtkCursorThemeName :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkCursorThemeName :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkCursorThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkCursorThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkCursorThemeSize :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkCursorThemeSize :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkCursorThemeSize :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- clearSettingsGtkDecorationLayout :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkDecorationLayout :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkDecorationLayout :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkDecorationLayout :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkDialogsUseHeader :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkDialogsUseHeader :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkDialogsUseHeader :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkDndDragThreshold :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkDndDragThreshold :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkDndDragThreshold :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkDoubleClickDistance :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkDoubleClickDistance :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkDoubleClickDistance :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkDoubleClickTime :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkDoubleClickTime :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkDoubleClickTime :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkEnableAccels :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkEnableAccels :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkEnableAccels :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkEnableAnimations :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkEnableAnimations :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkEnableAnimations :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkEnableEventSounds :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkEnableEventSounds :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkEnableEventSounds :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkEnableInputFeedbackSounds :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkEnableInputFeedbackSounds :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkEnableInputFeedbackSounds :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkEnablePrimaryPaste :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkEnablePrimaryPaste :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkEnablePrimaryPaste :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkEntryPasswordHintTimeout :: (IsSettings o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingsGtkEntryPasswordHintTimeout :: (MonadIO m, IsSettings o) => o -> m Word32
- setSettingsGtkEntryPasswordHintTimeout :: (MonadIO m, IsSettings o) => o -> Word32 -> m ()
- constructSettingsGtkEntrySelectOnFocus :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkEntrySelectOnFocus :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkEntrySelectOnFocus :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkErrorBell :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkErrorBell :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkErrorBell :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- clearSettingsGtkFontName :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkFontName :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkFontName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkFontName :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkFontRendering :: (IsSettings o, MonadIO m) => FontRendering -> m (GValueConstruct o)
- getSettingsGtkFontRendering :: (MonadIO m, IsSettings o) => o -> m FontRendering
- setSettingsGtkFontRendering :: (MonadIO m, IsSettings o) => o -> FontRendering -> m ()
- constructSettingsGtkFontconfigTimestamp :: (IsSettings o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingsGtkFontconfigTimestamp :: (MonadIO m, IsSettings o) => o -> m Word32
- setSettingsGtkFontconfigTimestamp :: (MonadIO m, IsSettings o) => o -> Word32 -> m ()
- constructSettingsGtkHintFontMetrics :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkHintFontMetrics :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkHintFontMetrics :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- clearSettingsGtkIconThemeName :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkIconThemeName :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkIconThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkIconThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- clearSettingsGtkImModule :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkImModule :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkImModule :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkImModule :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkInterfaceColorScheme :: (IsSettings o, MonadIO m) => InterfaceColorScheme -> m (GValueConstruct o)
- getSettingsGtkInterfaceColorScheme :: (MonadIO m, IsSettings o) => o -> m InterfaceColorScheme
- setSettingsGtkInterfaceColorScheme :: (MonadIO m, IsSettings o) => o -> InterfaceColorScheme -> m ()
- constructSettingsGtkInterfaceContrast :: (IsSettings o, MonadIO m) => InterfaceContrast -> m (GValueConstruct o)
- getSettingsGtkInterfaceContrast :: (MonadIO m, IsSettings o) => o -> m InterfaceContrast
- setSettingsGtkInterfaceContrast :: (MonadIO m, IsSettings o) => o -> InterfaceContrast -> m ()
- constructSettingsGtkInterfaceReducedMotion :: (IsSettings o, MonadIO m) => ReducedMotion -> m (GValueConstruct o)
- getSettingsGtkInterfaceReducedMotion :: (MonadIO m, IsSettings o) => o -> m ReducedMotion
- setSettingsGtkInterfaceReducedMotion :: (MonadIO m, IsSettings o) => o -> ReducedMotion -> m ()
- constructSettingsGtkKeynavUseCaret :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkKeynavUseCaret :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkKeynavUseCaret :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkLabelSelectOnFocus :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkLabelSelectOnFocus :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkLabelSelectOnFocus :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkLongPressTime :: (IsSettings o, MonadIO m) => Word32 -> m (GValueConstruct o)
- getSettingsGtkLongPressTime :: (MonadIO m, IsSettings o) => o -> m Word32
- setSettingsGtkLongPressTime :: (MonadIO m, IsSettings o) => o -> Word32 -> m ()
- constructSettingsGtkOverlayScrolling :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkOverlayScrolling :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkOverlayScrolling :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkPrimaryButtonWarpsSlider :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkPrimaryButtonWarpsSlider :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkPrimaryButtonWarpsSlider :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- clearSettingsGtkPrintBackends :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkPrintBackends :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkPrintBackends :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkPrintBackends :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- clearSettingsGtkPrintPreviewCommand :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkPrintPreviewCommand :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkPrintPreviewCommand :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkPrintPreviewCommand :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkRecentFilesEnabled :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkRecentFilesEnabled :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkRecentFilesEnabled :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkRecentFilesMaxAge :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkRecentFilesMaxAge :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkRecentFilesMaxAge :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkShellShowsAppMenu :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkShellShowsAppMenu :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkShellShowsAppMenu :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkShellShowsDesktop :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkShellShowsDesktop :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkShellShowsDesktop :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkShellShowsMenubar :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkShellShowsMenubar :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkShellShowsMenubar :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkShowStatusShapes :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkShowStatusShapes :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkShowStatusShapes :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- clearSettingsGtkSoundThemeName :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkSoundThemeName :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkSoundThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkSoundThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkSplitCursor :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkSplitCursor :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkSplitCursor :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- clearSettingsGtkThemeName :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkThemeName :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- clearSettingsGtkTitlebarDoubleClick :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkTitlebarDoubleClick :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkTitlebarDoubleClick :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkTitlebarDoubleClick :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- clearSettingsGtkTitlebarMiddleClick :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkTitlebarMiddleClick :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkTitlebarMiddleClick :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkTitlebarMiddleClick :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- clearSettingsGtkTitlebarRightClick :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkTitlebarRightClick :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkTitlebarRightClick :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkTitlebarRightClick :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkXftAntialias :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkXftAntialias :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkXftAntialias :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkXftDpi :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkXftDpi :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkXftDpi :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkXftHinting :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkXftHinting :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkXftHinting :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- clearSettingsGtkXftHintstyle :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkXftHintstyle :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkXftHintstyle :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkXftHintstyle :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- clearSettingsGtkXftRgba :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkXftRgba :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkXftRgba :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkXftRgba :: (MonadIO m, IsSettings o) => o -> Text -> m ()

# Exported types

newtype Settings Source #

Memory-managed wrapper type.

Constructors

Settings (ManagedPtr Settings) |

#### Instances

Instances details

Eq Settings Source # |
Instance details Defined in GI.Gtk.Objects.Settings Methods (==) :: Settings -> Settings -> Bool Source # (/=) :: Settings -> Settings -> Bool Source #
GObject Settings Source # |
Instance details Defined in GI.Gtk.Objects.Settings
ManagedPtrNewtype Settings Source # |
Instance details Defined in GI.Gtk.Objects.Settings Methods toManagedPtr :: Settings -> ManagedPtr Settings Source #
TypedObject Settings Source # |
Instance details Defined in GI.Gtk.Objects.Settings Methods glibType :: IO GType Source #
HasParentTypes Settings Source # |
Instance details Defined in GI.Gtk.Objects.Settings
IsGValue (Maybe Settings) Source # | Convert `Settings` to and from `GValue`. See `toGValue` and `fromGValue`.
Instance details Defined in GI.Gtk.Objects.Settings Methods gvalueGType_ :: IO GType Source # gvalueSet_ :: Ptr GValue -> Maybe Settings -> IO () Source # gvalueGet_ :: Ptr GValue -> IO (Maybe Settings) Source #
type ParentTypes Settings Source # |
Instance details Defined in GI.Gtk.Objects.Settings type ParentTypes Settings = '[Object, StyleProvider]

class (GObject o, IsDescendantOf Settings o) => IsSettings o Source #

Type class for types which can be safely cast to `Settings`, for instance with `toSettings`.

#### Instances

Instances details

(GObject o, IsDescendantOf Settings o) => IsSettings o Source # |
Instance details Defined in GI.Gtk.Objects.Settings

toSettings :: (MonadIO m, IsSettings o) => o -> m Settings Source #

Cast to `Settings`, for types for which this is known to be safe. For general casts, use `castTo`.

# Methods

### Click to display all available methods, including inherited ones

Expand

#### Methods

bindProperty, bindPropertyFull, forceFloating, freezeNotify, getv, isFloating, notify, notifyByPspec, ref, refSink, resetProperty, runDispose, stealData, stealQdata, thawNotify, unref, watchClosure.

#### Getters

getData, getProperty, getQdata.

#### Setters

setData, setDataFull, setProperty.

## getDefault

settingsGetDefault Source #

Arguments

:: (HasCallStack, MonadIO m) |
=> m (Maybe Settings) | Returns: a `GtkSettings` object. If there is no default display, then returns `Nothing`.

Gets the `GtkSettings` object for the default display, creating it if necessary.

See `settingsGetForDisplay`.

## getForDisplay

settingsGetForDisplay Source #

Arguments

:: (HasCallStack, MonadIO m, IsDisplay a) |
=> a | `display`: a `GdkDisplay`
-> m Settings | Returns: a `GtkSettings` object

Gets the `GtkSettings` object for `display`, creating it if necessary.

## resetProperty

settingsResetProperty Source #

Arguments

:: (HasCallStack, MonadIO m, IsSettings a) |
=> a | `settings`: a `GtkSettings` object
-> Text | `name`: the name of the setting to reset
-> m () |

Undoes the effect of calling `g_object_set()` to install an application-specific value for a setting.

After this call, the setting will again follow the session-wide value for this setting.

# Properties

## gtkAlternativeButtonOrder

Whether buttons in dialogs should use the alternative button order.

constructSettingsGtkAlternativeButtonOrder :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-alternative-button-order`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkAlternativeButtonOrder :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-alternative-button-order`” property. When overloading is enabled, this is equivalent to

    get settings #gtkAlternativeButtonOrder

setSettingsGtkAlternativeButtonOrder :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-alternative-button-order`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkAlternativeButtonOrder := value ]

## gtkAlternativeSortArrows

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.

constructSettingsGtkAlternativeSortArrows :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-alternative-sort-arrows`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkAlternativeSortArrows :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-alternative-sort-arrows`” property. When overloading is enabled, this is equivalent to

    get settings #gtkAlternativeSortArrows

setSettingsGtkAlternativeSortArrows :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-alternative-sort-arrows`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkAlternativeSortArrows := value ]

## gtkApplicationPreferDarkTheme

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...).

constructSettingsGtkApplicationPreferDarkTheme :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-application-prefer-dark-theme`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkApplicationPreferDarkTheme :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-application-prefer-dark-theme`” property. When overloading is enabled, this is equivalent to

    get settings #gtkApplicationPreferDarkTheme

setSettingsGtkApplicationPreferDarkTheme :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-application-prefer-dark-theme`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkApplicationPreferDarkTheme := value ]

## gtkCursorAspectRatio

The aspect ratio of the text caret.

constructSettingsGtkCursorAspectRatio :: (IsSettings o, MonadIO m) => Double -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-cursor-aspect-ratio`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkCursorAspectRatio :: (MonadIO m, IsSettings o) => o -> m Double Source #

Get the value of the “`gtk-cursor-aspect-ratio`” property. When overloading is enabled, this is equivalent to

    get settings #gtkCursorAspectRatio

setSettingsGtkCursorAspectRatio :: (MonadIO m, IsSettings o) => o -> Double -> m () Source #

Set the value of the “`gtk-cursor-aspect-ratio`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkCursorAspectRatio := value ]

## gtkCursorBlink

Whether the cursor should blink.

Also see the Settings:gtkCursorBlinkTimeout setting, which allows more flexible control over cursor blinking.

constructSettingsGtkCursorBlink :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-cursor-blink`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkCursorBlink :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-cursor-blink`” property. When overloading is enabled, this is equivalent to

    get settings #gtkCursorBlink

setSettingsGtkCursorBlink :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-cursor-blink`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkCursorBlink := value ]

## gtkCursorBlinkTime

Length of the cursor blink cycle, in milliseconds.

constructSettingsGtkCursorBlinkTime :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-cursor-blink-time`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkCursorBlinkTime :: (MonadIO m, IsSettings o) => o -> m Int32 Source #

Get the value of the “`gtk-cursor-blink-time`” property. When overloading is enabled, this is equivalent to

    get settings #gtkCursorBlinkTime

setSettingsGtkCursorBlinkTime :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #

Set the value of the “`gtk-cursor-blink-time`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkCursorBlinkTime := value ]

## gtkCursorBlinkTimeout

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 Settings:gtkCursorBlink to `False`.

constructSettingsGtkCursorBlinkTimeout :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-cursor-blink-timeout`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkCursorBlinkTimeout :: (MonadIO m, IsSettings o) => o -> m Int32 Source #

Get the value of the “`gtk-cursor-blink-timeout`” property. When overloading is enabled, this is equivalent to

    get settings #gtkCursorBlinkTimeout

setSettingsGtkCursorBlinkTimeout :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #

Set the value of the “`gtk-cursor-blink-timeout`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkCursorBlinkTimeout := value ]

## gtkCursorThemeName

Name of the cursor theme to use.

Use `Nothing` to use the default theme.

clearSettingsGtkCursorThemeName :: (MonadIO m, IsSettings o) => o -> m () Source #

Set the value of the “`gtk-cursor-theme-name`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #gtkCursorThemeName

constructSettingsGtkCursorThemeName :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-cursor-theme-name`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkCursorThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #

Get the value of the “`gtk-cursor-theme-name`” property. When overloading is enabled, this is equivalent to

    get settings #gtkCursorThemeName

setSettingsGtkCursorThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “`gtk-cursor-theme-name`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkCursorThemeName := value ]

## gtkCursorThemeSize

The size to use for cursors.

0 means to use the default size.

constructSettingsGtkCursorThemeSize :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-cursor-theme-size`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkCursorThemeSize :: (MonadIO m, IsSettings o) => o -> m Int32 Source #

Get the value of the “`gtk-cursor-theme-size`” property. When overloading is enabled, this is equivalent to

    get settings #gtkCursorThemeSize

setSettingsGtkCursorThemeSize :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #

Set the value of the “`gtk-cursor-theme-size`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkCursorThemeSize := value ]

## gtkDecorationLayout

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.

The format of the string is button names, separated by commas. A colon separates the buttons that should appear on the left from those on the right. Recognized button names are minimize, maximize, close, icon (the window icon) and menu (a menu button for the fallback app menu).

For example, "menu:minimize,maximize,close" specifies a menu on the left, and minimize, maximize and close buttons on the right.

Note that buttons will only be shown when they are meaningful. E.g. a menu button only appears when the desktop shell does not show the app menu, and a close button only appears on a window that can be closed.

Also note that the setting can be overridden with the HeaderBar:decorationLayout property.

clearSettingsGtkDecorationLayout :: (MonadIO m, IsSettings o) => o -> m () Source #

Set the value of the “`gtk-decoration-layout`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #gtkDecorationLayout

constructSettingsGtkDecorationLayout :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-decoration-layout`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkDecorationLayout :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #

Get the value of the “`gtk-decoration-layout`” property. When overloading is enabled, this is equivalent to

    get settings #gtkDecorationLayout

setSettingsGtkDecorationLayout :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “`gtk-decoration-layout`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkDecorationLayout := value ]

## gtkDialogsUseHeader

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 an action area at the bottom.

This setting does not affect custom dialogs using `GtkDialog` directly, or message dialogs.

constructSettingsGtkDialogsUseHeader :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-dialogs-use-header`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkDialogsUseHeader :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-dialogs-use-header`” property. When overloading is enabled, this is equivalent to

    get settings #gtkDialogsUseHeader

setSettingsGtkDialogsUseHeader :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-dialogs-use-header`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkDialogsUseHeader := value ]

## gtkDndDragThreshold

The number of pixels the cursor can move before dragging.

constructSettingsGtkDndDragThreshold :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-dnd-drag-threshold`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkDndDragThreshold :: (MonadIO m, IsSettings o) => o -> m Int32 Source #

Get the value of the “`gtk-dnd-drag-threshold`” property. When overloading is enabled, this is equivalent to

    get settings #gtkDndDragThreshold

setSettingsGtkDndDragThreshold :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #

Set the value of the “`gtk-dnd-drag-threshold`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkDndDragThreshold := value ]

## gtkDoubleClickDistance

The maximum distance allowed between two clicks for them to be considered a double click, in pixels.

constructSettingsGtkDoubleClickDistance :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-double-click-distance`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkDoubleClickDistance :: (MonadIO m, IsSettings o) => o -> m Int32 Source #

Get the value of the “`gtk-double-click-distance`” property. When overloading is enabled, this is equivalent to

    get settings #gtkDoubleClickDistance

setSettingsGtkDoubleClickDistance :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #

Set the value of the “`gtk-double-click-distance`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkDoubleClickDistance := value ]

## gtkDoubleClickTime

The maximum time to allow between two clicks for them to be considered a double click, in milliseconds.

constructSettingsGtkDoubleClickTime :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-double-click-time`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkDoubleClickTime :: (MonadIO m, IsSettings o) => o -> m Int32 Source #

Get the value of the “`gtk-double-click-time`” property. When overloading is enabled, this is equivalent to

    get settings #gtkDoubleClickTime

setSettingsGtkDoubleClickTime :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #

Set the value of the “`gtk-double-click-time`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkDoubleClickTime := value ]

## gtkEnableAccels

Whether menu items should have visible accelerators which can be activated.

constructSettingsGtkEnableAccels :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-enable-accels`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkEnableAccels :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-enable-accels`” property. When overloading is enabled, this is equivalent to

    get settings #gtkEnableAccels

setSettingsGtkEnableAccels :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-enable-accels`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkEnableAccels := value ]

## gtkEnableAnimations

Whether to enable toolkit-wide animations.

constructSettingsGtkEnableAnimations :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-enable-animations`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkEnableAnimations :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-enable-animations`” property. When overloading is enabled, this is equivalent to

    get settings #gtkEnableAnimations

setSettingsGtkEnableAnimations :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-enable-animations`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkEnableAnimations := value ]

## gtkEnableEventSounds

Whether to play any event sounds at all.

See the Sound Theme Specifications 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.

constructSettingsGtkEnableEventSounds :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-enable-event-sounds`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkEnableEventSounds :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-enable-event-sounds`” property. When overloading is enabled, this is equivalent to

    get settings #gtkEnableEventSounds

setSettingsGtkEnableEventSounds :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-enable-event-sounds`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkEnableEventSounds := value ]

## gtkEnableInputFeedbackSounds

Whether to play event sounds as feedback to user input.

See the Sound Theme Specifications 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.

constructSettingsGtkEnableInputFeedbackSounds :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-enable-input-feedback-sounds`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkEnableInputFeedbackSounds :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-enable-input-feedback-sounds`” property. When overloading is enabled, this is equivalent to

    get settings #gtkEnableInputFeedbackSounds

setSettingsGtkEnableInputFeedbackSounds :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-enable-input-feedback-sounds`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkEnableInputFeedbackSounds := value ]

## gtkEnablePrimaryPaste

Whether a middle click on a mouse should paste the 'PRIMARY' clipboard content at the cursor location.

constructSettingsGtkEnablePrimaryPaste :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-enable-primary-paste`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkEnablePrimaryPaste :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-enable-primary-paste`” property. When overloading is enabled, this is equivalent to

    get settings #gtkEnablePrimaryPaste

setSettingsGtkEnablePrimaryPaste :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-enable-primary-paste`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkEnablePrimaryPaste := value ]

## gtkEntryPasswordHintTimeout

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.

constructSettingsGtkEntryPasswordHintTimeout :: (IsSettings o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-entry-password-hint-timeout`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkEntryPasswordHintTimeout :: (MonadIO m, IsSettings o) => o -> m Word32 Source #

Get the value of the “`gtk-entry-password-hint-timeout`” property. When overloading is enabled, this is equivalent to

    get settings #gtkEntryPasswordHintTimeout

setSettingsGtkEntryPasswordHintTimeout :: (MonadIO m, IsSettings o) => o -> Word32 -> m () Source #

Set the value of the “`gtk-entry-password-hint-timeout`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkEntryPasswordHintTimeout := value ]

## gtkEntrySelectOnFocus

Whether to select the contents of an entry when it is focused.

constructSettingsGtkEntrySelectOnFocus :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-entry-select-on-focus`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkEntrySelectOnFocus :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-entry-select-on-focus`” property. When overloading is enabled, this is equivalent to

    get settings #gtkEntrySelectOnFocus

setSettingsGtkEntrySelectOnFocus :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-entry-select-on-focus`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkEntrySelectOnFocus := value ]

## gtkErrorBell

When `True`, keyboard navigation and other input-related errors will cause a beep.

Since the error bell is implemented using `surfaceBeep`, the windowing system may offer ways to configure the error bell in many ways, such as flashing the window or similar visual effects.

constructSettingsGtkErrorBell :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-error-bell`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkErrorBell :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-error-bell`” property. When overloading is enabled, this is equivalent to

    get settings #gtkErrorBell

setSettingsGtkErrorBell :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-error-bell`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkErrorBell := value ]

## gtkFontName

The default font to use.

GTK uses the family name and size from this string.

clearSettingsGtkFontName :: (MonadIO m, IsSettings o) => o -> m () Source #

Set the value of the “`gtk-font-name`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #gtkFontName

constructSettingsGtkFontName :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-font-name`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkFontName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #

Get the value of the “`gtk-font-name`” property. When overloading is enabled, this is equivalent to

    get settings #gtkFontName

setSettingsGtkFontName :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “`gtk-font-name`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkFontName := value ]

## gtkFontRendering

How GTK font rendering is set up.

When set to `FontRenderingManual`, GTK respects the low-level font-related settings (Settings:gtkHintFontMetrics, Settings:gtkXftAntialias, Settings:gtkXftHinting, Settings:gtkXftHintstyle and Settings:gtkXftRgba) as much as practical.

When set to `FontRenderingAutomatic`, GTK will consider factors such as screen resolution and scale in deciding how to render fonts.

Since: 4.16

constructSettingsGtkFontRendering :: (IsSettings o, MonadIO m) => FontRendering -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-font-rendering`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkFontRendering :: (MonadIO m, IsSettings o) => o -> m FontRendering Source #

Get the value of the “`gtk-font-rendering`” property. When overloading is enabled, this is equivalent to

    get settings #gtkFontRendering

setSettingsGtkFontRendering :: (MonadIO m, IsSettings o) => o -> FontRendering -> m () Source #

Set the value of the “`gtk-font-rendering`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkFontRendering := value ]

## gtkFontconfigTimestamp

Timestamp of the current fontconfig configuration.

constructSettingsGtkFontconfigTimestamp :: (IsSettings o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-fontconfig-timestamp`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkFontconfigTimestamp :: (MonadIO m, IsSettings o) => o -> m Word32 Source #

Get the value of the “`gtk-fontconfig-timestamp`” property. When overloading is enabled, this is equivalent to

    get settings #gtkFontconfigTimestamp

setSettingsGtkFontconfigTimestamp :: (MonadIO m, IsSettings o) => o -> Word32 -> m () Source #

Set the value of the “`gtk-fontconfig-timestamp`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkFontconfigTimestamp := value ]

## gtkHintFontMetrics

Whether hinting should be applied to font metrics.

Note that this also turns off subpixel positioning of glyphs, since it conflicts with metrics hinting.

Since: 4.6

constructSettingsGtkHintFontMetrics :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-hint-font-metrics`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkHintFontMetrics :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-hint-font-metrics`” property. When overloading is enabled, this is equivalent to

    get settings #gtkHintFontMetrics

setSettingsGtkHintFontMetrics :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-hint-font-metrics`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkHintFontMetrics := value ]

## gtkIconThemeName

Name of the icon theme to use.

See `IconTheme` for details about how GTK handles icon themes.

clearSettingsGtkIconThemeName :: (MonadIO m, IsSettings o) => o -> m () Source #

Set the value of the “`gtk-icon-theme-name`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #gtkIconThemeName

constructSettingsGtkIconThemeName :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-icon-theme-name`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkIconThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #

Get the value of the “`gtk-icon-theme-name`” property. When overloading is enabled, this is equivalent to

    get settings #gtkIconThemeName

setSettingsGtkIconThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “`gtk-icon-theme-name`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkIconThemeName := value ]

## gtkImModule

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. This also can be a colon-separated list of input methods, which GTK will try in turn until it finds one available on the system.

See `IMContext`.

clearSettingsGtkImModule :: (MonadIO m, IsSettings o) => o -> m () Source #

Set the value of the “`gtk-im-module`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #gtkImModule

constructSettingsGtkImModule :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-im-module`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkImModule :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #

Get the value of the “`gtk-im-module`” property. When overloading is enabled, this is equivalent to

    get settings #gtkImModule

setSettingsGtkImModule :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “`gtk-im-module`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkImModule := value ]

## gtkInterfaceColorScheme

The color scheme used for rendering the user interface.

This setting communicates the system-wide preference. The color scheme that is actually used when applying CSS styles can be set with the CssProvider:prefersColorScheme property.

Since: 4.20

constructSettingsGtkInterfaceColorScheme :: (IsSettings o, MonadIO m) => InterfaceColorScheme -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-interface-color-scheme`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkInterfaceColorScheme :: (MonadIO m, IsSettings o) => o -> m InterfaceColorScheme Source #

Get the value of the “`gtk-interface-color-scheme`” property. When overloading is enabled, this is equivalent to

    get settings #gtkInterfaceColorScheme

setSettingsGtkInterfaceColorScheme :: (MonadIO m, IsSettings o) => o -> InterfaceColorScheme -> m () Source #

Set the value of the “`gtk-interface-color-scheme`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkInterfaceColorScheme := value ]

## gtkInterfaceContrast

The level of contrast to use for the user interface.

This setting communicates the system-wide preference. The contrast level that is actually used when applying CSS styles can be set with the CssProvider:prefersContrast property.

Since: 4.20

constructSettingsGtkInterfaceContrast :: (IsSettings o, MonadIO m) => InterfaceContrast -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-interface-contrast`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkInterfaceContrast :: (MonadIO m, IsSettings o) => o -> m InterfaceContrast Source #

Get the value of the “`gtk-interface-contrast`” property. When overloading is enabled, this is equivalent to

    get settings #gtkInterfaceContrast

setSettingsGtkInterfaceContrast :: (MonadIO m, IsSettings o) => o -> InterfaceContrast -> m () Source #

Set the value of the “`gtk-interface-contrast`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkInterfaceContrast := value ]

## gtkInterfaceReducedMotion

Whether animations should be reduced to essential motions.

This setting communicates the system-wide preference. The motion level that is actually used when applying CSS styles can be set with the CssProvider:prefersReducedMotion property.

Since: 4.22

constructSettingsGtkInterfaceReducedMotion :: (IsSettings o, MonadIO m) => ReducedMotion -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-interface-reduced-motion`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkInterfaceReducedMotion :: (MonadIO m, IsSettings o) => o -> m ReducedMotion Source #

Get the value of the “`gtk-interface-reduced-motion`” property. When overloading is enabled, this is equivalent to

    get settings #gtkInterfaceReducedMotion

setSettingsGtkInterfaceReducedMotion :: (MonadIO m, IsSettings o) => o -> ReducedMotion -> m () Source #

Set the value of the “`gtk-interface-reduced-motion`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkInterfaceReducedMotion := value ]

## gtkKeynavUseCaret

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.

constructSettingsGtkKeynavUseCaret :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-keynav-use-caret`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkKeynavUseCaret :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-keynav-use-caret`” property. When overloading is enabled, this is equivalent to

    get settings #gtkKeynavUseCaret

setSettingsGtkKeynavUseCaret :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-keynav-use-caret`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkKeynavUseCaret := value ]

## gtkLabelSelectOnFocus

Whether to select the contents of a selectable label when it is focused.

constructSettingsGtkLabelSelectOnFocus :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-label-select-on-focus`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkLabelSelectOnFocus :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-label-select-on-focus`” property. When overloading is enabled, this is equivalent to

    get settings #gtkLabelSelectOnFocus

setSettingsGtkLabelSelectOnFocus :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-label-select-on-focus`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkLabelSelectOnFocus := value ]

## gtkLongPressTime

The time for a button or touch press to be considered a “long press”.

See `GestureLongPress`.

constructSettingsGtkLongPressTime :: (IsSettings o, MonadIO m) => Word32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-long-press-time`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkLongPressTime :: (MonadIO m, IsSettings o) => o -> m Word32 Source #

Get the value of the “`gtk-long-press-time`” property. When overloading is enabled, this is equivalent to

    get settings #gtkLongPressTime

setSettingsGtkLongPressTime :: (MonadIO m, IsSettings o) => o -> Word32 -> m () Source #

Set the value of the “`gtk-long-press-time`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkLongPressTime := value ]

## gtkOverlayScrolling

Whether scrolled windows may use overlaid scrolling indicators.

If this is set to `False`, scrolled windows will have permanent scrollbars.

constructSettingsGtkOverlayScrolling :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-overlay-scrolling`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkOverlayScrolling :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-overlay-scrolling`” property. When overloading is enabled, this is equivalent to

    get settings #gtkOverlayScrolling

setSettingsGtkOverlayScrolling :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-overlay-scrolling`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkOverlayScrolling := value ]

## gtkPrimaryButtonWarpsSlider

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, to the point that you clicked.

If it is `False`, a primary click will cause the slider/value to move by the range’s page-size towards the point clicked.

Whichever action you choose for the primary button, the other action will be available by holding Shift and primary-clicking, or clicking the middle mouse button.

constructSettingsGtkPrimaryButtonWarpsSlider :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-primary-button-warps-slider`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkPrimaryButtonWarpsSlider :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-primary-button-warps-slider`” property. When overloading is enabled, this is equivalent to

    get settings #gtkPrimaryButtonWarpsSlider

setSettingsGtkPrimaryButtonWarpsSlider :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-primary-button-warps-slider`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkPrimaryButtonWarpsSlider := value ]

## gtkPrintBackends

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".

clearSettingsGtkPrintBackends :: (MonadIO m, IsSettings o) => o -> m () Source #

Set the value of the “`gtk-print-backends`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #gtkPrintBackends

constructSettingsGtkPrintBackends :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-print-backends`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkPrintBackends :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #

Get the value of the “`gtk-print-backends`” property. When overloading is enabled, this is equivalent to

    get settings #gtkPrintBackends

setSettingsGtkPrintBackends :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “`gtk-print-backends`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkPrintBackends := value ]

## gtkPrintPreviewCommand

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 `printSettingsToFile`.

The preview application is responsible for removing the pdf file and the print settings file when it is done.

clearSettingsGtkPrintPreviewCommand :: (MonadIO m, IsSettings o) => o -> m () Source #

Set the value of the “`gtk-print-preview-command`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #gtkPrintPreviewCommand

constructSettingsGtkPrintPreviewCommand :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-print-preview-command`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkPrintPreviewCommand :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #

Get the value of the “`gtk-print-preview-command`” property. When overloading is enabled, this is equivalent to

    get settings #gtkPrintPreviewCommand

setSettingsGtkPrintPreviewCommand :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “`gtk-print-preview-command`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkPrintPreviewCommand := value ]

## gtkRecentFilesEnabled

Whether GTK should keep track of items inside the recently used resources list.

If set to `False`, the list will always be empty.

constructSettingsGtkRecentFilesEnabled :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-recent-files-enabled`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkRecentFilesEnabled :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-recent-files-enabled`” property. When overloading is enabled, this is equivalent to

    get settings #gtkRecentFilesEnabled

setSettingsGtkRecentFilesEnabled :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-recent-files-enabled`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkRecentFilesEnabled := value ]

## gtkRecentFilesMaxAge

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.

constructSettingsGtkRecentFilesMaxAge :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-recent-files-max-age`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkRecentFilesMaxAge :: (MonadIO m, IsSettings o) => o -> m Int32 Source #

Get the value of the “`gtk-recent-files-max-age`” property. When overloading is enabled, this is equivalent to

    get settings #gtkRecentFilesMaxAge

setSettingsGtkRecentFilesMaxAge :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #

Set the value of the “`gtk-recent-files-max-age`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkRecentFilesMaxAge := value ]

## gtkShellShowsAppMenu

Set to `True` if the desktop environment is displaying the app menu, `False` if the app should display it itself.

constructSettingsGtkShellShowsAppMenu :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-shell-shows-app-menu`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkShellShowsAppMenu :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-shell-shows-app-menu`” property. When overloading is enabled, this is equivalent to

    get settings #gtkShellShowsAppMenu

setSettingsGtkShellShowsAppMenu :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-shell-shows-app-menu`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkShellShowsAppMenu := value ]

## gtkShellShowsDesktop

Set to `True` if the desktop environment is displaying the desktop folder, `False` if not.

constructSettingsGtkShellShowsDesktop :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-shell-shows-desktop`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkShellShowsDesktop :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-shell-shows-desktop`” property. When overloading is enabled, this is equivalent to

    get settings #gtkShellShowsDesktop

setSettingsGtkShellShowsDesktop :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-shell-shows-desktop`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkShellShowsDesktop := value ]

## gtkShellShowsMenubar

Set to `True` if the desktop environment is displaying the menubar, `False` if the app should display it itself.

constructSettingsGtkShellShowsMenubar :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-shell-shows-menubar`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkShellShowsMenubar :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-shell-shows-menubar`” property. When overloading is enabled, this is equivalent to

    get settings #gtkShellShowsMenubar

setSettingsGtkShellShowsMenubar :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-shell-shows-menubar`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkShellShowsMenubar := value ]

## gtkShowStatusShapes

When `True`, widgets like switches include shapes to indicate their on/off state.

Since: 4.14

constructSettingsGtkShowStatusShapes :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-show-status-shapes`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkShowStatusShapes :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-show-status-shapes`” property. When overloading is enabled, this is equivalent to

    get settings #gtkShowStatusShapes

setSettingsGtkShowStatusShapes :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-show-status-shapes`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkShowStatusShapes := value ]

## gtkSoundThemeName

The XDG sound theme to use for event sounds.

See the Sound Theme Specifications 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.

clearSettingsGtkSoundThemeName :: (MonadIO m, IsSettings o) => o -> m () Source #

Set the value of the “`gtk-sound-theme-name`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #gtkSoundThemeName

constructSettingsGtkSoundThemeName :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-sound-theme-name`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkSoundThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #

Get the value of the “`gtk-sound-theme-name`” property. When overloading is enabled, this is equivalent to

    get settings #gtkSoundThemeName

setSettingsGtkSoundThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “`gtk-sound-theme-name`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkSoundThemeName := value ]

## gtkSplitCursor

Whether two cursors should be displayed for mixed left-to-right and right-to-left text.

constructSettingsGtkSplitCursor :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-split-cursor`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkSplitCursor :: (MonadIO m, IsSettings o) => o -> m Bool Source #

Get the value of the “`gtk-split-cursor`” property. When overloading is enabled, this is equivalent to

    get settings #gtkSplitCursor

setSettingsGtkSplitCursor :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #

Set the value of the “`gtk-split-cursor`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkSplitCursor := value ]

## gtkThemeName

Name of the theme to load.

See `CssProvider` for details about how GTK finds the CSS stylesheet for a theme.

clearSettingsGtkThemeName :: (MonadIO m, IsSettings o) => o -> m () Source #

Set the value of the “`gtk-theme-name`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #gtkThemeName

constructSettingsGtkThemeName :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-theme-name`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #

Get the value of the “`gtk-theme-name`” property. When overloading is enabled, this is equivalent to

    get settings #gtkThemeName

setSettingsGtkThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “`gtk-theme-name`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkThemeName := value ]

## gtkTitlebarDoubleClick

Determines the action to take when a double-click occurs on the titlebar of client-side decorated windows.

Recognized actions are minimize, toggle-maximize, menu, lower or none.

clearSettingsGtkTitlebarDoubleClick :: (MonadIO m, IsSettings o) => o -> m () Source #

Set the value of the “`gtk-titlebar-double-click`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #gtkTitlebarDoubleClick

constructSettingsGtkTitlebarDoubleClick :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-titlebar-double-click`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkTitlebarDoubleClick :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #

Get the value of the “`gtk-titlebar-double-click`” property. When overloading is enabled, this is equivalent to

    get settings #gtkTitlebarDoubleClick

setSettingsGtkTitlebarDoubleClick :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “`gtk-titlebar-double-click`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkTitlebarDoubleClick := value ]

## gtkTitlebarMiddleClick

Determines the action to take when a middle-click occurs on the titlebar of client-side decorated windows.

Recognized actions are minimize, toggle-maximize, menu, lower or none.

clearSettingsGtkTitlebarMiddleClick :: (MonadIO m, IsSettings o) => o -> m () Source #

Set the value of the “`gtk-titlebar-middle-click`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #gtkTitlebarMiddleClick

constructSettingsGtkTitlebarMiddleClick :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-titlebar-middle-click`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkTitlebarMiddleClick :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #

Get the value of the “`gtk-titlebar-middle-click`” property. When overloading is enabled, this is equivalent to

    get settings #gtkTitlebarMiddleClick

setSettingsGtkTitlebarMiddleClick :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “`gtk-titlebar-middle-click`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkTitlebarMiddleClick := value ]

## gtkTitlebarRightClick

Determines the action to take when a right-click occurs on the titlebar of client-side decorated windows.

Recognized actions are minimize, toggle-maximize, menu, lower or none.

clearSettingsGtkTitlebarRightClick :: (MonadIO m, IsSettings o) => o -> m () Source #

Set the value of the “`gtk-titlebar-right-click`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #gtkTitlebarRightClick

constructSettingsGtkTitlebarRightClick :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-titlebar-right-click`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkTitlebarRightClick :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #

Get the value of the “`gtk-titlebar-right-click`” property. When overloading is enabled, this is equivalent to

    get settings #gtkTitlebarRightClick

setSettingsGtkTitlebarRightClick :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “`gtk-titlebar-right-click`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkTitlebarRightClick := value ]

## gtkXftAntialias

Whether to antialias fonts.

The values are 0 for no, 1 for yes, or -1 for the system default.

constructSettingsGtkXftAntialias :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-xft-antialias`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkXftAntialias :: (MonadIO m, IsSettings o) => o -> m Int32 Source #

Get the value of the “`gtk-xft-antialias`” property. When overloading is enabled, this is equivalent to

    get settings #gtkXftAntialias

setSettingsGtkXftAntialias :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #

Set the value of the “`gtk-xft-antialias`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkXftAntialias := value ]

## gtkXftDpi

The font resolution, in 1024 * dots/inch.

- 1 to use the default value.

constructSettingsGtkXftDpi :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-xft-dpi`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkXftDpi :: (MonadIO m, IsSettings o) => o -> m Int32 Source #

Get the value of the “`gtk-xft-dpi`” property. When overloading is enabled, this is equivalent to

    get settings #gtkXftDpi

setSettingsGtkXftDpi :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #

Set the value of the “`gtk-xft-dpi`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkXftDpi := value ]

## gtkXftHinting

Whether to enable font hinting.

The values are 0 for no, 1 for yes, or -1 for the system default.

constructSettingsGtkXftHinting :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-xft-hinting`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkXftHinting :: (MonadIO m, IsSettings o) => o -> m Int32 Source #

Get the value of the “`gtk-xft-hinting`” property. When overloading is enabled, this is equivalent to

    get settings #gtkXftHinting

setSettingsGtkXftHinting :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #

Set the value of the “`gtk-xft-hinting`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkXftHinting := value ]

## gtkXftHintstyle

What degree of font hinting to use.

The possible vaues are hintnone, hintslight, hintmedium, hintfull.

clearSettingsGtkXftHintstyle :: (MonadIO m, IsSettings o) => o -> m () Source #

Set the value of the “`gtk-xft-hintstyle`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #gtkXftHintstyle

constructSettingsGtkXftHintstyle :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-xft-hintstyle`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkXftHintstyle :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #

Get the value of the “`gtk-xft-hintstyle`” property. When overloading is enabled, this is equivalent to

    get settings #gtkXftHintstyle

setSettingsGtkXftHintstyle :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “`gtk-xft-hintstyle`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkXftHintstyle := value ]

## gtkXftRgba

The type of subpixel antialiasing to use.

The possible values are none, rgb, bgr, vrgb, vbgr.

Note that GSK does not support subpixel antialiasing, and this setting has no effect on font rendering in GTK.

clearSettingsGtkXftRgba :: (MonadIO m, IsSettings o) => o -> m () Source #

Set the value of the “`gtk-xft-rgba`” property to `Nothing`. When overloading is enabled, this is equivalent to

    clear #gtkXftRgba

constructSettingsGtkXftRgba :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #

Construct a `GValueConstruct` with valid value for the “`gtk-xft-rgba`” property. This is rarely needed directly, but it is used by `new`.

getSettingsGtkXftRgba :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #

Get the value of the “`gtk-xft-rgba`” property. When overloading is enabled, this is equivalent to

    get settings #gtkXftRgba

setSettingsGtkXftRgba :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #

Set the value of the “`gtk-xft-rgba`” property. When overloading is enabled, this is equivalent to

    set settings [ #gtkXftRgba := value ]