| Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
|---|---|
| License | LGPL-2.1 |
| Maintainer | Iñaki García Etxebarria |
| Safe Haskell | None |
| Language | Haskell2010 |
GI.Gtk.Objects.Settings
Contents
- Exported types
- Methods
- Properties
- colorHash
- gtkAlternativeButtonOrder
- gtkAlternativeSortArrows
- gtkApplicationPreferDarkTheme
- gtkAutoMnemonics
- gtkButtonImages
- gtkCanChangeAccels
- gtkColorPalette
- gtkColorScheme
- gtkCursorBlink
- gtkCursorBlinkTime
- gtkCursorBlinkTimeout
- gtkCursorThemeName
- gtkCursorThemeSize
- gtkDecorationLayout
- gtkDialogsUseHeader
- gtkDndDragThreshold
- gtkDoubleClickDistance
- gtkDoubleClickTime
- gtkEnableAccels
- gtkEnableAnimations
- gtkEnableEventSounds
- gtkEnableInputFeedbackSounds
- gtkEnableMnemonics
- gtkEnablePrimaryPaste
- gtkEnableTooltips
- gtkEntryPasswordHintTimeout
- gtkEntrySelectOnFocus
- gtkErrorBell
- gtkFallbackIconTheme
- gtkFileChooserBackend
- gtkFontName
- gtkFontconfigTimestamp
- gtkIconSizes
- gtkIconThemeName
- gtkImModule
- gtkImPreeditStyle
- gtkImStatusStyle
- gtkKeyThemeName
- gtkKeynavCursorOnly
- gtkKeynavUseCaret
- gtkKeynavWrapAround
- gtkLabelSelectOnFocus
- gtkLongPressTime
- gtkMenuBarAccel
- gtkMenuBarPopupDelay
- gtkMenuImages
- gtkMenuPopdownDelay
- gtkMenuPopupDelay
- gtkModules
- gtkOverlayScrolling
- gtkPrimaryButtonWarpsSlider
- gtkPrintBackends
- gtkPrintPreviewCommand
- gtkRecentFilesEnabled
- gtkRecentFilesLimit
- gtkRecentFilesMaxAge
- gtkScrolledWindowPlacement
- gtkShellShowsAppMenu
- gtkShellShowsDesktop
- gtkShellShowsMenubar
- gtkShowInputMethodMenu
- gtkShowUnicodeMenu
- gtkSoundThemeName
- gtkSplitCursor
- gtkThemeName
- gtkTimeoutExpand
- gtkTimeoutInitial
- gtkTimeoutRepeat
- gtkTitlebarDoubleClick
- gtkTitlebarMiddleClick
- gtkTitlebarRightClick
- gtkToolbarIconSize
- gtkToolbarStyle
- gtkTooltipBrowseModeTimeout
- gtkTooltipBrowseTimeout
- gtkTooltipTimeout
- gtkTouchscreenMode
- gtkVisibleFocus
- gtkXftAntialias
- gtkXftDpi
- gtkXftHinting
- gtkXftHintstyle
- gtkXftRgba
Description
GtkSettings provide a mechanism to share global settings between applications.
On the X window system, this sharing is realized by an
XSettings
manager that is usually part of the desktop environment, along with
utilities that let the user change these settings. In the absence of
an Xsettings manager, GTK+ reads default values for settings from
settings.ini files in
/etc/gtk-3.0, $XDG_CONFIG_DIRS/gtk-3.0
and $XDG_CONFIG_HOME/gtk-3.0.
These files must be valid key files (see 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 GtkSettings object with g_object_set(). This should be restricted
to special cases though; GtkSettings are not meant as an application
configuration facility. When doing so, you need to be aware that settings
that are specific to individual widgets may not be available before the
widget type has been realized at least once. The following example
demonstrates a way to do this:
C code
gtk_init (&argc, &argv); // make sure the type is realized g_type_class_unref (g_type_class_ref (GTK_TYPE_IMAGE_MENU_ITEM)); g_object_set (gtk_settings_get_default (), "gtk-enable-animations", FALSE, NULL);
There is one GtkSettings instance per screen. It can be obtained with
settingsGetForScreen, but in many cases, it is more convenient
to use widgetGetSettings. settingsGetDefault returns the
GtkSettings instance for the default screen.
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)
- settingsGetForScreen :: (HasCallStack, MonadIO m, IsScreen a) => a -> m Settings
- settingsInstallProperty :: (HasCallStack, MonadIO m) => GParamSpec -> m ()
- settingsInstallPropertyParser :: (HasCallStack, MonadIO m) => GParamSpec -> RcPropertyParser -> m ()
- settingsResetProperty :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> m ()
- settingsSetDoubleProperty :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> Double -> Text -> m ()
- settingsSetLongProperty :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> CLong -> Text -> m ()
- settingsSetPropertyValue :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> SettingsValue -> m ()
- settingsSetStringProperty :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> Text -> 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 ()
- constructSettingsGtkAutoMnemonics :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkAutoMnemonics :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkAutoMnemonics :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkButtonImages :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkButtonImages :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkButtonImages :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkCanChangeAccels :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkCanChangeAccels :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkCanChangeAccels :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- clearSettingsGtkColorPalette :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkColorPalette :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkColorPalette :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkColorPalette :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- clearSettingsGtkColorScheme :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkColorScheme :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkColorScheme :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkColorScheme :: (MonadIO m, IsSettings o) => o -> Text -> 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 ()
- constructSettingsGtkEnableMnemonics :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkEnableMnemonics :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkEnableMnemonics :: (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 ()
- constructSettingsGtkEnableTooltips :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkEnableTooltips :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkEnableTooltips :: (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 ()
- clearSettingsGtkFallbackIconTheme :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkFallbackIconTheme :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkFallbackIconTheme :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkFallbackIconTheme :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- clearSettingsGtkFileChooserBackend :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkFileChooserBackend :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkFileChooserBackend :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkFileChooserBackend :: (MonadIO m, IsSettings o) => o -> Text -> 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 ()
- 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 ()
- clearSettingsGtkIconSizes :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkIconSizes :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkIconSizes :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkIconSizes :: (MonadIO m, IsSettings o) => o -> Text -> 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 ()
- constructSettingsGtkImPreeditStyle :: (IsSettings o, MonadIO m) => IMPreeditStyle -> m (GValueConstruct o)
- getSettingsGtkImPreeditStyle :: (MonadIO m, IsSettings o) => o -> m IMPreeditStyle
- setSettingsGtkImPreeditStyle :: (MonadIO m, IsSettings o) => o -> IMPreeditStyle -> m ()
- constructSettingsGtkImStatusStyle :: (IsSettings o, MonadIO m) => IMStatusStyle -> m (GValueConstruct o)
- getSettingsGtkImStatusStyle :: (MonadIO m, IsSettings o) => o -> m IMStatusStyle
- setSettingsGtkImStatusStyle :: (MonadIO m, IsSettings o) => o -> IMStatusStyle -> m ()
- clearSettingsGtkKeyThemeName :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkKeyThemeName :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkKeyThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkKeyThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkKeynavCursorOnly :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkKeynavCursorOnly :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkKeynavCursorOnly :: (MonadIO m, IsSettings o) => o -> Bool -> 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 ()
- constructSettingsGtkKeynavWrapAround :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkKeynavWrapAround :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkKeynavWrapAround :: (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 ()
- clearSettingsGtkMenuBarAccel :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkMenuBarAccel :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkMenuBarAccel :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkMenuBarAccel :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkMenuBarPopupDelay :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkMenuBarPopupDelay :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkMenuBarPopupDelay :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkMenuImages :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkMenuImages :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkMenuImages :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkMenuPopdownDelay :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkMenuPopdownDelay :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkMenuPopdownDelay :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkMenuPopupDelay :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkMenuPopupDelay :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkMenuPopupDelay :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- clearSettingsGtkModules :: (MonadIO m, IsSettings o) => o -> m ()
- constructSettingsGtkModules :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o)
- getSettingsGtkModules :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkModules :: (MonadIO m, IsSettings o) => o -> Text -> 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 ()
- constructSettingsGtkRecentFilesLimit :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkRecentFilesLimit :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkRecentFilesLimit :: (MonadIO m, IsSettings o) => o -> Int32 -> 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 ()
- constructSettingsGtkScrolledWindowPlacement :: (IsSettings o, MonadIO m) => CornerType -> m (GValueConstruct o)
- getSettingsGtkScrolledWindowPlacement :: (MonadIO m, IsSettings o) => o -> m CornerType
- setSettingsGtkScrolledWindowPlacement :: (MonadIO m, IsSettings o) => o -> CornerType -> 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 ()
- constructSettingsGtkShowInputMethodMenu :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkShowInputMethodMenu :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkShowInputMethodMenu :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkShowUnicodeMenu :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkShowUnicodeMenu :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkShowUnicodeMenu :: (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 ()
- constructSettingsGtkTimeoutExpand :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkTimeoutExpand :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkTimeoutExpand :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkTimeoutInitial :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkTimeoutInitial :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkTimeoutInitial :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkTimeoutRepeat :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkTimeoutRepeat :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkTimeoutRepeat :: (MonadIO m, IsSettings o) => o -> Int32 -> 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 ()
- constructSettingsGtkToolbarIconSize :: (IsSettings o, MonadIO m) => IconSize -> m (GValueConstruct o)
- getSettingsGtkToolbarIconSize :: (MonadIO m, IsSettings o) => o -> m IconSize
- setSettingsGtkToolbarIconSize :: (MonadIO m, IsSettings o) => o -> IconSize -> m ()
- constructSettingsGtkToolbarStyle :: (IsSettings o, MonadIO m) => ToolbarStyle -> m (GValueConstruct o)
- getSettingsGtkToolbarStyle :: (MonadIO m, IsSettings o) => o -> m ToolbarStyle
- setSettingsGtkToolbarStyle :: (MonadIO m, IsSettings o) => o -> ToolbarStyle -> m ()
- constructSettingsGtkTooltipBrowseModeTimeout :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkTooltipBrowseModeTimeout :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkTooltipBrowseModeTimeout :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkTooltipBrowseTimeout :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkTooltipBrowseTimeout :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkTooltipBrowseTimeout :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkTooltipTimeout :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o)
- getSettingsGtkTooltipTimeout :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkTooltipTimeout :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkTouchscreenMode :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o)
- getSettingsGtkTouchscreenMode :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkTouchscreenMode :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkVisibleFocus :: (IsSettings o, MonadIO m) => PolicyType -> m (GValueConstruct o)
- getSettingsGtkVisibleFocus :: (MonadIO m, IsSettings o) => o -> m PolicyType
- setSettingsGtkVisibleFocus :: (MonadIO m, IsSettings o) => o -> PolicyType -> 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
Memory-managed wrapper type.
Instances
| Eq Settings Source # | |
| GObject Settings Source # | |
Defined in GI.Gtk.Objects.Settings | |
| ManagedPtrNewtype Settings Source # | |
Defined in GI.Gtk.Objects.Settings Methods toManagedPtr :: Settings -> ManagedPtr Settings | |
| TypedObject Settings Source # | |
Defined in GI.Gtk.Objects.Settings Methods glibType :: IO GType | |
| IsGValue Settings Source # | Convert |
Defined in GI.Gtk.Objects.Settings | |
| HasParentTypes Settings Source # | |
Defined in GI.Gtk.Objects.Settings | |
| type ParentTypes Settings Source # | |
Defined in GI.Gtk.Objects.Settings | |
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
| (GObject o, IsDescendantOf Settings o) => IsSettings o Source # | |
Defined in GI.Gtk.Objects.Settings | |
toSettings :: (MonadIO m, IsSettings o) => o -> m Settings Source #
Methods
Overloaded methods
getDefault
Arguments
| :: (HasCallStack, MonadIO m) | |
| => m (Maybe Settings) | Returns: a |
Gets the Settings object for the default GDK screen, creating
it if necessary. See settingsGetForScreen.
getForScreen
Arguments
| :: (HasCallStack, MonadIO m, IsScreen a) | |
| => a |
|
| -> m Settings | Returns: a |
Gets the Settings object for screen, creating it if necessary.
Since: 2.2
installProperty
settingsInstallProperty :: (HasCallStack, MonadIO m) => GParamSpec -> m () Source #
Deprecated: (Since version 3.16)This function is not useful outside GTK+.
No description available in the introspection data.
installPropertyParser
settingsInstallPropertyParser :: (HasCallStack, MonadIO m) => GParamSpec -> RcPropertyParser -> m () Source #
Deprecated: (Since version 3.16)This function is not useful outside GTK+.
No description available in the introspection data.
resetProperty
settingsResetProperty Source #
Arguments
| :: (HasCallStack, MonadIO m, IsSettings a) | |
| => a |
|
| -> Text |
|
| -> 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.
Since: 3.20
setDoubleProperty
settingsSetDoubleProperty :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> Double -> Text -> m () Source #
Deprecated: (Since version 3.16)Use g_object_set() instead.
No description available in the introspection data.
setLongProperty
settingsSetLongProperty :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> CLong -> Text -> m () Source #
Deprecated: (Since version 3.16)Use g_object_set() instead.
No description available in the introspection data.
setPropertyValue
settingsSetPropertyValue :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> SettingsValue -> m () Source #
Deprecated: (Since version 3.16)Use g_object_set() instead.
No description available in the introspection data.
setStringProperty
settingsSetStringProperty :: (HasCallStack, MonadIO m, IsSettings a) => a -> Text -> Text -> Text -> m () Source #
Deprecated: (Since version 3.16)Use g_object_set() instead.
No description available in the introspection data.
Properties
colorHash
gtkAlternativeButtonOrder
No description available in the introspection data.
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
setsettings [ #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.
Since: 2.12
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
setsettings [ #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...).
Since: 3.0
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
setsettings [ #gtkApplicationPreferDarkTheme:=value ]
gtkAutoMnemonics
Whether mnemonics should be automatically shown and hidden when the user presses the mnemonic activator.
Since: 2.20
constructSettingsGtkAutoMnemonics :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-auto-mnemonics” property. This is rarely needed directly, but it is used by new.
getSettingsGtkAutoMnemonics :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-auto-mnemonics” property.
When overloading is enabled, this is equivalent to
get settings #gtkAutoMnemonics
setSettingsGtkAutoMnemonics :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-auto-mnemonics” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkAutoMnemonics:=value ]
gtkButtonImages
Whether images should be shown on buttons
Since: 2.4
constructSettingsGtkButtonImages :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-button-images” property. This is rarely needed directly, but it is used by new.
getSettingsGtkButtonImages :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-button-images” property.
When overloading is enabled, this is equivalent to
get settings #gtkButtonImages
setSettingsGtkButtonImages :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-button-images” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkButtonImages:=value ]
gtkCanChangeAccels
Whether menu accelerators can be changed by pressing a key over the menu item.
constructSettingsGtkCanChangeAccels :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-can-change-accels” property. This is rarely needed directly, but it is used by new.
getSettingsGtkCanChangeAccels :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-can-change-accels” property.
When overloading is enabled, this is equivalent to
get settings #gtkCanChangeAccels
setSettingsGtkCanChangeAccels :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-can-change-accels” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkCanChangeAccels:=value ]
gtkColorPalette
Palette to use in the deprecated color selector.
clearSettingsGtkColorPalette :: (MonadIO m, IsSettings o) => o -> m () Source #
Set the value of the “gtk-color-palette” property to Nothing.
When overloading is enabled, this is equivalent to
clear #gtkColorPalette
constructSettingsGtkColorPalette :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-color-palette” property. This is rarely needed directly, but it is used by new.
getSettingsGtkColorPalette :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-color-palette” property.
When overloading is enabled, this is equivalent to
get settings #gtkColorPalette
setSettingsGtkColorPalette :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-color-palette” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkColorPalette:=value ]
gtkColorScheme
A palette of named colors for use in themes. The format of the string is > >name1: color1 >name2: color2 >...
Color names must be acceptable as identifiers in the
[gtkrc][gtk3-Resource-Files] syntax, and
color specifications must be in the format accepted by
colorParse.
Note that due to the way the color tables from different sources are merged, color specifications will be converted to hexadecimal form when getting this property.
Starting with GTK+ 2.12, the entries can alternatively be separated by ';' instead of newlines: > >name1: color1; name2: color2; ...
Since: 2.10
clearSettingsGtkColorScheme :: (MonadIO m, IsSettings o) => o -> m () Source #
Set the value of the “gtk-color-scheme” property to Nothing.
When overloading is enabled, this is equivalent to
clear #gtkColorScheme
constructSettingsGtkColorScheme :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-color-scheme” property. This is rarely needed directly, but it is used by new.
getSettingsGtkColorScheme :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-color-scheme” property.
When overloading is enabled, this is equivalent to
get settings #gtkColorScheme
setSettingsGtkColorScheme :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-color-scheme” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkColorScheme:=value ]
gtkCursorBlink
Whether the cursor should blink.
Also see the Settings:gtk-cursor-blink-timeout 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
setsettings [ #gtkCursorBlink:=value ]
gtkCursorBlinkTime
No description available in the introspection data.
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
setsettings [ #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:gtk-cursor-blink to False.
Since: 2.12
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
setsettings [ #gtkCursorBlinkTimeout:=value ]
gtkCursorThemeName
No description available in the introspection data.
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
setsettings [ #gtkCursorThemeName:=value ]
gtkCursorThemeSize
No description available in the introspection data.
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
setsettings [ #gtkCursorThemeSize:=value ]
gtkDecorationLayout
This setting determines which buttons should be put in the titlebar of client-side decorated windows, and whether they should be placed at the left of 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:decoration-layout property.
Since: 3.12
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
setsettings [ #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.
Since: 3.12
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
setsettings [ #gtkDialogsUseHeader:=value ]
gtkDndDragThreshold
No description available in the introspection data.
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
setsettings [ #gtkDndDragThreshold:=value ]
gtkDoubleClickDistance
No description available in the introspection data.
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
setsettings [ #gtkDoubleClickDistance:=value ]
gtkDoubleClickTime
No description available in the introspection data.
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
setsettings [ #gtkDoubleClickTime:=value ]
gtkEnableAccels
Whether menu items should have visible accelerators which can be activated.
Since: 2.12
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
setsettings [ #gtkEnableAccels:=value ]
gtkEnableAnimations
No description available in the introspection data.
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
setsettings [ #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.
Since: 2.14
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
setsettings [ #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.
Since: 2.14
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
setsettings [ #gtkEnableInputFeedbackSounds:=value ]
gtkEnableMnemonics
Whether labels and menu items should have visible mnemonics which can be activated.
Since: 2.12
constructSettingsGtkEnableMnemonics :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-enable-mnemonics” property. This is rarely needed directly, but it is used by new.
getSettingsGtkEnableMnemonics :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-enable-mnemonics” property.
When overloading is enabled, this is equivalent to
get settings #gtkEnableMnemonics
setSettingsGtkEnableMnemonics :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-enable-mnemonics” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkEnableMnemonics:=value ]
gtkEnablePrimaryPaste
Whether a middle click on a mouse should paste the 'PRIMARY' clipboard content at the cursor location.
Since: 3.4
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
setsettings [ #gtkEnablePrimaryPaste:=value ]
gtkEnableTooltips
Whether tooltips should be shown on widgets.
Since: 2.14
constructSettingsGtkEnableTooltips :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-enable-tooltips” property. This is rarely needed directly, but it is used by new.
getSettingsGtkEnableTooltips :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-enable-tooltips” property.
When overloading is enabled, this is equivalent to
get settings #gtkEnableTooltips
setSettingsGtkEnableTooltips :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-enable-tooltips” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkEnableTooltips:=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.
Since: 2.10
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
setsettings [ #gtkEntryPasswordHintTimeout:=value ]
gtkEntrySelectOnFocus
No description available in the introspection data.
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
setsettings [ #gtkEntrySelectOnFocus:=value ]
gtkErrorBell
When True, keyboard navigation and other input-related errors
will cause a beep. Since the error bell is implemented using
windowBeep, the windowing system may offer ways to
configure the error bell in many ways, such as flashing the
window or similar visual effects.
Since: 2.12
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
setsettings [ #gtkErrorBell:=value ]
gtkFallbackIconTheme
Name of a icon theme to fall back to.
clearSettingsGtkFallbackIconTheme :: (MonadIO m, IsSettings o) => o -> m () Source #
Set the value of the “gtk-fallback-icon-theme” property to Nothing.
When overloading is enabled, this is equivalent to
clear #gtkFallbackIconTheme
constructSettingsGtkFallbackIconTheme :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-fallback-icon-theme” property. This is rarely needed directly, but it is used by new.
getSettingsGtkFallbackIconTheme :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-fallback-icon-theme” property.
When overloading is enabled, this is equivalent to
get settings #gtkFallbackIconTheme
setSettingsGtkFallbackIconTheme :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-fallback-icon-theme” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkFallbackIconTheme:=value ]
gtkFileChooserBackend
Name of the GtkFileChooser backend to use by default.
clearSettingsGtkFileChooserBackend :: (MonadIO m, IsSettings o) => o -> m () Source #
Set the value of the “gtk-file-chooser-backend” property to Nothing.
When overloading is enabled, this is equivalent to
clear #gtkFileChooserBackend
constructSettingsGtkFileChooserBackend :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-file-chooser-backend” property. This is rarely needed directly, but it is used by new.
getSettingsGtkFileChooserBackend :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-file-chooser-backend” property.
When overloading is enabled, this is equivalent to
get settings #gtkFileChooserBackend
setSettingsGtkFileChooserBackend :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-file-chooser-backend” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkFileChooserBackend:=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
setsettings [ #gtkFontName:=value ]
gtkFontconfigTimestamp
No description available in the introspection data.
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
setsettings [ #gtkFontconfigTimestamp:=value ]
gtkIconSizes
A list of icon sizes. The list is separated by colons, and item has the form:
size-name = width , height
E.g. "gtk-menu=16,16:gtk-button=20,20:gtk-dialog=48,48".
GTK+ itself use the following named icon sizes: gtk-menu,
gtk-button, gtk-small-toolbar, gtk-large-toolbar, gtk-dnd,
gtk-dialog. Applications can register their own named icon
sizes with iconSizeRegister.
clearSettingsGtkIconSizes :: (MonadIO m, IsSettings o) => o -> m () Source #
Set the value of the “gtk-icon-sizes” property to Nothing.
When overloading is enabled, this is equivalent to
clear #gtkIconSizes
constructSettingsGtkIconSizes :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-icon-sizes” property. This is rarely needed directly, but it is used by new.
getSettingsGtkIconSizes :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-icon-sizes” property.
When overloading is enabled, this is equivalent to
get settings #gtkIconSizes
setSettingsGtkIconSizes :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-icon-sizes” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkIconSizes:=value ]
gtkIconThemeName
No description available in the introspection data.
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
setsettings [ #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
setsettings [ #gtkImModule:=value ]
gtkImPreeditStyle
How to draw the input method preedit string.
constructSettingsGtkImPreeditStyle :: (IsSettings o, MonadIO m) => IMPreeditStyle -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-im-preedit-style” property. This is rarely needed directly, but it is used by new.
getSettingsGtkImPreeditStyle :: (MonadIO m, IsSettings o) => o -> m IMPreeditStyle Source #
Get the value of the “gtk-im-preedit-style” property.
When overloading is enabled, this is equivalent to
get settings #gtkImPreeditStyle
setSettingsGtkImPreeditStyle :: (MonadIO m, IsSettings o) => o -> IMPreeditStyle -> m () Source #
Set the value of the “gtk-im-preedit-style” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkImPreeditStyle:=value ]
gtkImStatusStyle
How to draw the input method statusbar.
constructSettingsGtkImStatusStyle :: (IsSettings o, MonadIO m) => IMStatusStyle -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-im-status-style” property. This is rarely needed directly, but it is used by new.
getSettingsGtkImStatusStyle :: (MonadIO m, IsSettings o) => o -> m IMStatusStyle Source #
Get the value of the “gtk-im-status-style” property.
When overloading is enabled, this is equivalent to
get settings #gtkImStatusStyle
setSettingsGtkImStatusStyle :: (MonadIO m, IsSettings o) => o -> IMStatusStyle -> m () Source #
Set the value of the “gtk-im-status-style” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkImStatusStyle:=value ]
gtkKeyThemeName
No description available in the introspection data.
clearSettingsGtkKeyThemeName :: (MonadIO m, IsSettings o) => o -> m () Source #
Set the value of the “gtk-key-theme-name” property to Nothing.
When overloading is enabled, this is equivalent to
clear #gtkKeyThemeName
constructSettingsGtkKeyThemeName :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-key-theme-name” property. This is rarely needed directly, but it is used by new.
getSettingsGtkKeyThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-key-theme-name” property.
When overloading is enabled, this is equivalent to
get settings #gtkKeyThemeName
setSettingsGtkKeyThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-key-theme-name” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkKeyThemeName:=value ]
gtkKeynavCursorOnly
When True, keyboard navigation should be able to reach all widgets
by using the cursor keys only. Tab, Shift etc. keys can't be expected
to be present on the used input device.
Since: 2.12
constructSettingsGtkKeynavCursorOnly :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-keynav-cursor-only” property. This is rarely needed directly, but it is used by new.
getSettingsGtkKeynavCursorOnly :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-keynav-cursor-only” property.
When overloading is enabled, this is equivalent to
get settings #gtkKeynavCursorOnly
setSettingsGtkKeynavCursorOnly :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-keynav-cursor-only” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkKeynavCursorOnly:=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.
Since: 3.20
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
setsettings [ #gtkKeynavUseCaret:=value ]
gtkKeynavWrapAround
When True, some widgets will wrap around when doing keyboard
navigation, such as menus, menubars and notebooks.
Since: 2.12
constructSettingsGtkKeynavWrapAround :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-keynav-wrap-around” property. This is rarely needed directly, but it is used by new.
getSettingsGtkKeynavWrapAround :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-keynav-wrap-around” property.
When overloading is enabled, this is equivalent to
get settings #gtkKeynavWrapAround
setSettingsGtkKeynavWrapAround :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-keynav-wrap-around” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkKeynavWrapAround:=value ]
gtkLabelSelectOnFocus
No description available in the introspection data.
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
setsettings [ #gtkLabelSelectOnFocus:=value ]
gtkLongPressTime
The time for a button or touch press to be considered a "long press".
Since: 3.14
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
setsettings [ #gtkLongPressTime:=value ]
gtkMenuBarAccel
Keybinding to activate the menu bar.
clearSettingsGtkMenuBarAccel :: (MonadIO m, IsSettings o) => o -> m () Source #
Set the value of the “gtk-menu-bar-accel” property to Nothing.
When overloading is enabled, this is equivalent to
clear #gtkMenuBarAccel
constructSettingsGtkMenuBarAccel :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-menu-bar-accel” property. This is rarely needed directly, but it is used by new.
getSettingsGtkMenuBarAccel :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-menu-bar-accel” property.
When overloading is enabled, this is equivalent to
get settings #gtkMenuBarAccel
setSettingsGtkMenuBarAccel :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-menu-bar-accel” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkMenuBarAccel:=value ]
gtkMenuBarPopupDelay
Delay before the submenus of a menu bar appear.
constructSettingsGtkMenuBarPopupDelay :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-menu-bar-popup-delay” property. This is rarely needed directly, but it is used by new.
getSettingsGtkMenuBarPopupDelay :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-menu-bar-popup-delay” property.
When overloading is enabled, this is equivalent to
get settings #gtkMenuBarPopupDelay
setSettingsGtkMenuBarPopupDelay :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-menu-bar-popup-delay” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkMenuBarPopupDelay:=value ]
gtkMenuImages
Whether images should be shown in menu items
constructSettingsGtkMenuImages :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-menu-images” property. This is rarely needed directly, but it is used by new.
getSettingsGtkMenuImages :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-menu-images” property.
When overloading is enabled, this is equivalent to
get settings #gtkMenuImages
setSettingsGtkMenuImages :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-menu-images” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkMenuImages:=value ]
gtkMenuPopdownDelay
The time before hiding a submenu when the pointer is moving towards the submenu.
constructSettingsGtkMenuPopdownDelay :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-menu-popdown-delay” property. This is rarely needed directly, but it is used by new.
getSettingsGtkMenuPopdownDelay :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-menu-popdown-delay” property.
When overloading is enabled, this is equivalent to
get settings #gtkMenuPopdownDelay
setSettingsGtkMenuPopdownDelay :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-menu-popdown-delay” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkMenuPopdownDelay:=value ]
gtkMenuPopupDelay
Minimum time the pointer must stay over a menu item before the submenu appear.
constructSettingsGtkMenuPopupDelay :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-menu-popup-delay” property. This is rarely needed directly, but it is used by new.
getSettingsGtkMenuPopupDelay :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-menu-popup-delay” property.
When overloading is enabled, this is equivalent to
get settings #gtkMenuPopupDelay
setSettingsGtkMenuPopupDelay :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-menu-popup-delay” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkMenuPopupDelay:=value ]
gtkModules
No description available in the introspection data.
clearSettingsGtkModules :: (MonadIO m, IsSettings o) => o -> m () Source #
Set the value of the “gtk-modules” property to Nothing.
When overloading is enabled, this is equivalent to
clear #gtkModules
constructSettingsGtkModules :: (IsSettings o, MonadIO m) => Text -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-modules” property. This is rarely needed directly, but it is used by new.
getSettingsGtkModules :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-modules” property.
When overloading is enabled, this is equivalent to
get settings #gtkModules
setSettingsGtkModules :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-modules” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkModules:=value ]
gtkOverlayScrolling
Whether scrolled windows may use overlayed scrolling indicators.
If this is set to False, scrolled windows will have permanent
scrollbars.
Since: 3.24.9
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
setsettings [ #gtkOverlayScrolling:=value ]
gtkPrimaryButtonWarpsSlider
If the value of this setting is True, clicking the primary button in a
Range 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 (since GTK+ 3.22.25) clicking the middle mouse button.
Since: 3.6
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
setsettings [ #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".
Since: 2.10
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
setsettings [ #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.
Since: 2.10
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
setsettings [ #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.
Since: 3.8
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
setsettings [ #gtkRecentFilesEnabled:=value ]
gtkRecentFilesLimit
The number of recently used files that should be displayed by default by
RecentChooser implementations and by the FileChooser. A value of
-1 means every recently used file stored.
Since: 2.12
constructSettingsGtkRecentFilesLimit :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-recent-files-limit” property. This is rarely needed directly, but it is used by new.
getSettingsGtkRecentFilesLimit :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-recent-files-limit” property.
When overloading is enabled, this is equivalent to
get settings #gtkRecentFilesLimit
setSettingsGtkRecentFilesLimit :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-recent-files-limit” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkRecentFilesLimit:=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.
Since: 2.14
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
setsettings [ #gtkRecentFilesMaxAge:=value ]
gtkScrolledWindowPlacement
Where the contents of scrolled windows are located with respect to the scrollbars, if not overridden by the scrolled window's own placement.
Since: 2.10
constructSettingsGtkScrolledWindowPlacement :: (IsSettings o, MonadIO m) => CornerType -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-scrolled-window-placement” property. This is rarely needed directly, but it is used by new.
getSettingsGtkScrolledWindowPlacement :: (MonadIO m, IsSettings o) => o -> m CornerType Source #
Get the value of the “gtk-scrolled-window-placement” property.
When overloading is enabled, this is equivalent to
get settings #gtkScrolledWindowPlacement
setSettingsGtkScrolledWindowPlacement :: (MonadIO m, IsSettings o) => o -> CornerType -> m () Source #
Set the value of the “gtk-scrolled-window-placement” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkScrolledWindowPlacement:=value ]
gtkShellShowsAppMenu
No description available in the introspection data.
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
setsettings [ #gtkShellShowsAppMenu:=value ]
gtkShellShowsDesktop
No description available in the introspection data.
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
setsettings [ #gtkShellShowsDesktop:=value ]
gtkShellShowsMenubar
No description available in the introspection data.
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
setsettings [ #gtkShellShowsMenubar:=value ]
gtkShowInputMethodMenu
No description available in the introspection data.
constructSettingsGtkShowInputMethodMenu :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-show-input-method-menu” property. This is rarely needed directly, but it is used by new.
getSettingsGtkShowInputMethodMenu :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-show-input-method-menu” property.
When overloading is enabled, this is equivalent to
get settings #gtkShowInputMethodMenu
setSettingsGtkShowInputMethodMenu :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-show-input-method-menu” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkShowInputMethodMenu:=value ]
gtkShowUnicodeMenu
No description available in the introspection data.
constructSettingsGtkShowUnicodeMenu :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-show-unicode-menu” property. This is rarely needed directly, but it is used by new.
getSettingsGtkShowUnicodeMenu :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-show-unicode-menu” property.
When overloading is enabled, this is equivalent to
get settings #gtkShowUnicodeMenu
setSettingsGtkShowUnicodeMenu :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-show-unicode-menu” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkShowUnicodeMenu:=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.
Since: 2.14
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
setsettings [ #gtkSoundThemeName:=value ]
gtkSplitCursor
No description available in the introspection data.
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
setsettings [ #gtkSplitCursor:=value ]
gtkThemeName
No description available in the introspection data.
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
setsettings [ #gtkThemeName:=value ]
gtkTimeoutExpand
No description available in the introspection data.
constructSettingsGtkTimeoutExpand :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-timeout-expand” property. This is rarely needed directly, but it is used by new.
getSettingsGtkTimeoutExpand :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-timeout-expand” property.
When overloading is enabled, this is equivalent to
get settings #gtkTimeoutExpand
setSettingsGtkTimeoutExpand :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-timeout-expand” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkTimeoutExpand:=value ]
gtkTimeoutInitial
No description available in the introspection data.
constructSettingsGtkTimeoutInitial :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-timeout-initial” property. This is rarely needed directly, but it is used by new.
getSettingsGtkTimeoutInitial :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-timeout-initial” property.
When overloading is enabled, this is equivalent to
get settings #gtkTimeoutInitial
setSettingsGtkTimeoutInitial :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-timeout-initial” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkTimeoutInitial:=value ]
gtkTimeoutRepeat
No description available in the introspection data.
constructSettingsGtkTimeoutRepeat :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-timeout-repeat” property. This is rarely needed directly, but it is used by new.
getSettingsGtkTimeoutRepeat :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-timeout-repeat” property.
When overloading is enabled, this is equivalent to
get settings #gtkTimeoutRepeat
setSettingsGtkTimeoutRepeat :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-timeout-repeat” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkTimeoutRepeat:=value ]
gtkTitlebarDoubleClick
This setting 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.
Since: 3.14
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
setsettings [ #gtkTitlebarDoubleClick:=value ]
gtkTitlebarMiddleClick
This setting 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.
Since: 3.14
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
setsettings [ #gtkTitlebarMiddleClick:=value ]
gtkTitlebarRightClick
This setting 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.
Since: 3.14
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
setsettings [ #gtkTitlebarRightClick:=value ]
gtkToolbarIconSize
The size of icons in default toolbars.
constructSettingsGtkToolbarIconSize :: (IsSettings o, MonadIO m) => IconSize -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-toolbar-icon-size” property. This is rarely needed directly, but it is used by new.
getSettingsGtkToolbarIconSize :: (MonadIO m, IsSettings o) => o -> m IconSize Source #
Get the value of the “gtk-toolbar-icon-size” property.
When overloading is enabled, this is equivalent to
get settings #gtkToolbarIconSize
setSettingsGtkToolbarIconSize :: (MonadIO m, IsSettings o) => o -> IconSize -> m () Source #
Set the value of the “gtk-toolbar-icon-size” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkToolbarIconSize:=value ]
gtkToolbarStyle
The size of icons in default toolbars.
constructSettingsGtkToolbarStyle :: (IsSettings o, MonadIO m) => ToolbarStyle -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-toolbar-style” property. This is rarely needed directly, but it is used by new.
getSettingsGtkToolbarStyle :: (MonadIO m, IsSettings o) => o -> m ToolbarStyle Source #
Get the value of the “gtk-toolbar-style” property.
When overloading is enabled, this is equivalent to
get settings #gtkToolbarStyle
setSettingsGtkToolbarStyle :: (MonadIO m, IsSettings o) => o -> ToolbarStyle -> m () Source #
Set the value of the “gtk-toolbar-style” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkToolbarStyle:=value ]
gtkTooltipBrowseModeTimeout
Amount of time, in milliseconds, after which the browse mode will be disabled.
See Settings:gtk-tooltip-browse-timeout for more information
about browse mode.
Since: 2.12
constructSettingsGtkTooltipBrowseModeTimeout :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-tooltip-browse-mode-timeout” property. This is rarely needed directly, but it is used by new.
getSettingsGtkTooltipBrowseModeTimeout :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-tooltip-browse-mode-timeout” property.
When overloading is enabled, this is equivalent to
get settings #gtkTooltipBrowseModeTimeout
setSettingsGtkTooltipBrowseModeTimeout :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-tooltip-browse-mode-timeout” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkTooltipBrowseModeTimeout:=value ]
gtkTooltipBrowseTimeout
Controls the time after which tooltips will appear when browse mode is enabled, in milliseconds.
Browse mode is enabled when the mouse pointer moves off an object
where a tooltip was currently being displayed. If the mouse pointer
hits another object before the browse mode timeout expires (see
Settings:gtk-tooltip-browse-mode-timeout), it will take the
amount of milliseconds specified by this setting to popup the tooltip
for the new object.
Since: 2.12
constructSettingsGtkTooltipBrowseTimeout :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-tooltip-browse-timeout” property. This is rarely needed directly, but it is used by new.
getSettingsGtkTooltipBrowseTimeout :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-tooltip-browse-timeout” property.
When overloading is enabled, this is equivalent to
get settings #gtkTooltipBrowseTimeout
setSettingsGtkTooltipBrowseTimeout :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-tooltip-browse-timeout” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkTooltipBrowseTimeout:=value ]
gtkTooltipTimeout
Time, in milliseconds, after which a tooltip could appear if the cursor is hovering on top of a widget.
Since: 2.12
constructSettingsGtkTooltipTimeout :: (IsSettings o, MonadIO m) => Int32 -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-tooltip-timeout” property. This is rarely needed directly, but it is used by new.
getSettingsGtkTooltipTimeout :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-tooltip-timeout” property.
When overloading is enabled, this is equivalent to
get settings #gtkTooltipTimeout
setSettingsGtkTooltipTimeout :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-tooltip-timeout” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkTooltipTimeout:=value ]
gtkTouchscreenMode
When True, there are no motion notify events delivered on this screen,
and widgets can't use the pointer hovering them for any essential
functionality.
Since: 2.10
constructSettingsGtkTouchscreenMode :: (IsSettings o, MonadIO m) => Bool -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-touchscreen-mode” property. This is rarely needed directly, but it is used by new.
getSettingsGtkTouchscreenMode :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-touchscreen-mode” property.
When overloading is enabled, this is equivalent to
get settings #gtkTouchscreenMode
setSettingsGtkTouchscreenMode :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-touchscreen-mode” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkTouchscreenMode:=value ]
gtkVisibleFocus
Whether 'focus rectangles' should be always visible, never visible, or hidden until the user starts to use the keyboard.
Since: 3.2
constructSettingsGtkVisibleFocus :: (IsSettings o, MonadIO m) => PolicyType -> m (GValueConstruct o) Source #
Construct a GValueConstruct with valid value for the “gtk-visible-focus” property. This is rarely needed directly, but it is used by new.
getSettingsGtkVisibleFocus :: (MonadIO m, IsSettings o) => o -> m PolicyType Source #
Get the value of the “gtk-visible-focus” property.
When overloading is enabled, this is equivalent to
get settings #gtkVisibleFocus
setSettingsGtkVisibleFocus :: (MonadIO m, IsSettings o) => o -> PolicyType -> m () Source #
Set the value of the “gtk-visible-focus” property.
When overloading is enabled, this is equivalent to
setsettings [ #gtkVisibleFocus:=value ]
gtkXftAntialias
No description available in the introspection data.
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
setsettings [ #gtkXftAntialias:=value ]
gtkXftDpi
No description available in the introspection data.
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
setsettings [ #gtkXftDpi:=value ]
gtkXftHinting
No description available in the introspection data.
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
setsettings [ #gtkXftHinting:=value ]
gtkXftHintstyle
No description available in the introspection data.
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
setsettings [ #gtkXftHintstyle:=value ]
gtkXftRgba
No description available in the introspection data.
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
setsettings [ #gtkXftRgba:=value ]