Copyright | Will Thompson Iñaki García Etxebarria and Jonas Platte |
---|---|
License | LGPL-2.1 |
Maintainer | Iñaki García Etxebarria (garetxe@gmail.com) |
Safe Haskell | None |
Language | Haskell2010 |
- 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
- 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
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 => IsSettings o
- toSettings :: (MonadIO m, IsSettings o) => o -> m Settings
- noSettings :: Maybe 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 => Bool -> IO (GValueConstruct o)
- getSettingsGtkAlternativeButtonOrder :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkAlternativeButtonOrder :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkAlternativeSortArrows :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkAlternativeSortArrows :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkAlternativeSortArrows :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkApplicationPreferDarkTheme :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkApplicationPreferDarkTheme :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkApplicationPreferDarkTheme :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkAutoMnemonics :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkAutoMnemonics :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkAutoMnemonics :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkButtonImages :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkButtonImages :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkButtonImages :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkCanChangeAccels :: IsSettings o => Bool -> IO (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 => Text -> IO (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 => Text -> IO (GValueConstruct o)
- getSettingsGtkColorScheme :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkColorScheme :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkCursorBlink :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkCursorBlink :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkCursorBlink :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkCursorBlinkTime :: IsSettings o => Int32 -> IO (GValueConstruct o)
- getSettingsGtkCursorBlinkTime :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkCursorBlinkTime :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkCursorBlinkTimeout :: IsSettings o => Int32 -> IO (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 => Text -> IO (GValueConstruct o)
- getSettingsGtkCursorThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkCursorThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkCursorThemeSize :: IsSettings o => Int32 -> IO (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 => Text -> IO (GValueConstruct o)
- getSettingsGtkDecorationLayout :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkDecorationLayout :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkDialogsUseHeader :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkDialogsUseHeader :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkDialogsUseHeader :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkDndDragThreshold :: IsSettings o => Int32 -> IO (GValueConstruct o)
- getSettingsGtkDndDragThreshold :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkDndDragThreshold :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkDoubleClickDistance :: IsSettings o => Int32 -> IO (GValueConstruct o)
- getSettingsGtkDoubleClickDistance :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkDoubleClickDistance :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkDoubleClickTime :: IsSettings o => Int32 -> IO (GValueConstruct o)
- getSettingsGtkDoubleClickTime :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkDoubleClickTime :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkEnableAccels :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkEnableAccels :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkEnableAccels :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkEnableAnimations :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkEnableAnimations :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkEnableAnimations :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkEnableEventSounds :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkEnableEventSounds :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkEnableEventSounds :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkEnableInputFeedbackSounds :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkEnableInputFeedbackSounds :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkEnableInputFeedbackSounds :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkEnableMnemonics :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkEnableMnemonics :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkEnableMnemonics :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkEnablePrimaryPaste :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkEnablePrimaryPaste :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkEnablePrimaryPaste :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkEnableTooltips :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkEnableTooltips :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkEnableTooltips :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkEntryPasswordHintTimeout :: IsSettings o => Word32 -> IO (GValueConstruct o)
- getSettingsGtkEntryPasswordHintTimeout :: (MonadIO m, IsSettings o) => o -> m Word32
- setSettingsGtkEntryPasswordHintTimeout :: (MonadIO m, IsSettings o) => o -> Word32 -> m ()
- constructSettingsGtkEntrySelectOnFocus :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkEntrySelectOnFocus :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkEntrySelectOnFocus :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkErrorBell :: IsSettings o => Bool -> IO (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 => Text -> IO (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 => Text -> IO (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 => Text -> IO (GValueConstruct o)
- getSettingsGtkFontName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkFontName :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkFontconfigTimestamp :: IsSettings o => Word32 -> IO (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 => Text -> IO (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 => Text -> IO (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 => Text -> IO (GValueConstruct o)
- getSettingsGtkImModule :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkImModule :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkImPreeditStyle :: IsSettings o => IMPreeditStyle -> IO (GValueConstruct o)
- getSettingsGtkImPreeditStyle :: (MonadIO m, IsSettings o) => o -> m IMPreeditStyle
- setSettingsGtkImPreeditStyle :: (MonadIO m, IsSettings o) => o -> IMPreeditStyle -> m ()
- constructSettingsGtkImStatusStyle :: IsSettings o => IMStatusStyle -> IO (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 => Text -> IO (GValueConstruct o)
- getSettingsGtkKeyThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkKeyThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkKeynavCursorOnly :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkKeynavCursorOnly :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkKeynavCursorOnly :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkKeynavUseCaret :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkKeynavUseCaret :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkKeynavUseCaret :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkKeynavWrapAround :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkKeynavWrapAround :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkKeynavWrapAround :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkLabelSelectOnFocus :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkLabelSelectOnFocus :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkLabelSelectOnFocus :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkLongPressTime :: IsSettings o => Word32 -> IO (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 => Text -> IO (GValueConstruct o)
- getSettingsGtkMenuBarAccel :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkMenuBarAccel :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkMenuBarPopupDelay :: IsSettings o => Int32 -> IO (GValueConstruct o)
- getSettingsGtkMenuBarPopupDelay :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkMenuBarPopupDelay :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkMenuImages :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkMenuImages :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkMenuImages :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkMenuPopdownDelay :: IsSettings o => Int32 -> IO (GValueConstruct o)
- getSettingsGtkMenuPopdownDelay :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkMenuPopdownDelay :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkMenuPopupDelay :: IsSettings o => Int32 -> IO (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 => Text -> IO (GValueConstruct o)
- getSettingsGtkModules :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkModules :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkPrimaryButtonWarpsSlider :: IsSettings o => Bool -> IO (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 => Text -> IO (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 => Text -> IO (GValueConstruct o)
- getSettingsGtkPrintPreviewCommand :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkPrintPreviewCommand :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkRecentFilesEnabled :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkRecentFilesEnabled :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkRecentFilesEnabled :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkRecentFilesLimit :: IsSettings o => Int32 -> IO (GValueConstruct o)
- getSettingsGtkRecentFilesLimit :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkRecentFilesLimit :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkRecentFilesMaxAge :: IsSettings o => Int32 -> IO (GValueConstruct o)
- getSettingsGtkRecentFilesMaxAge :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkRecentFilesMaxAge :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkScrolledWindowPlacement :: IsSettings o => CornerType -> IO (GValueConstruct o)
- getSettingsGtkScrolledWindowPlacement :: (MonadIO m, IsSettings o) => o -> m CornerType
- setSettingsGtkScrolledWindowPlacement :: (MonadIO m, IsSettings o) => o -> CornerType -> m ()
- constructSettingsGtkShellShowsAppMenu :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkShellShowsAppMenu :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkShellShowsAppMenu :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkShellShowsDesktop :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkShellShowsDesktop :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkShellShowsDesktop :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkShellShowsMenubar :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkShellShowsMenubar :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkShellShowsMenubar :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkShowInputMethodMenu :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkShowInputMethodMenu :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkShowInputMethodMenu :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkShowUnicodeMenu :: IsSettings o => Bool -> IO (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 => Text -> IO (GValueConstruct o)
- getSettingsGtkSoundThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkSoundThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkSplitCursor :: IsSettings o => Bool -> IO (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 => Text -> IO (GValueConstruct o)
- getSettingsGtkThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkTimeoutExpand :: IsSettings o => Int32 -> IO (GValueConstruct o)
- getSettingsGtkTimeoutExpand :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkTimeoutExpand :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkTimeoutInitial :: IsSettings o => Int32 -> IO (GValueConstruct o)
- getSettingsGtkTimeoutInitial :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkTimeoutInitial :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkTimeoutRepeat :: IsSettings o => Int32 -> IO (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 => Text -> IO (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 => Text -> IO (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 => Text -> IO (GValueConstruct o)
- getSettingsGtkTitlebarRightClick :: (MonadIO m, IsSettings o) => o -> m (Maybe Text)
- setSettingsGtkTitlebarRightClick :: (MonadIO m, IsSettings o) => o -> Text -> m ()
- constructSettingsGtkToolbarIconSize :: IsSettings o => IconSize -> IO (GValueConstruct o)
- getSettingsGtkToolbarIconSize :: (MonadIO m, IsSettings o) => o -> m IconSize
- setSettingsGtkToolbarIconSize :: (MonadIO m, IsSettings o) => o -> IconSize -> m ()
- constructSettingsGtkToolbarStyle :: IsSettings o => ToolbarStyle -> IO (GValueConstruct o)
- getSettingsGtkToolbarStyle :: (MonadIO m, IsSettings o) => o -> m ToolbarStyle
- setSettingsGtkToolbarStyle :: (MonadIO m, IsSettings o) => o -> ToolbarStyle -> m ()
- constructSettingsGtkTooltipBrowseModeTimeout :: IsSettings o => Int32 -> IO (GValueConstruct o)
- getSettingsGtkTooltipBrowseModeTimeout :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkTooltipBrowseModeTimeout :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkTooltipBrowseTimeout :: IsSettings o => Int32 -> IO (GValueConstruct o)
- getSettingsGtkTooltipBrowseTimeout :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkTooltipBrowseTimeout :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkTooltipTimeout :: IsSettings o => Int32 -> IO (GValueConstruct o)
- getSettingsGtkTooltipTimeout :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkTooltipTimeout :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkTouchscreenMode :: IsSettings o => Bool -> IO (GValueConstruct o)
- getSettingsGtkTouchscreenMode :: (MonadIO m, IsSettings o) => o -> m Bool
- setSettingsGtkTouchscreenMode :: (MonadIO m, IsSettings o) => o -> Bool -> m ()
- constructSettingsGtkVisibleFocus :: IsSettings o => PolicyType -> IO (GValueConstruct o)
- getSettingsGtkVisibleFocus :: (MonadIO m, IsSettings o) => o -> m PolicyType
- setSettingsGtkVisibleFocus :: (MonadIO m, IsSettings o) => o -> PolicyType -> m ()
- constructSettingsGtkXftAntialias :: IsSettings o => Int32 -> IO (GValueConstruct o)
- getSettingsGtkXftAntialias :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkXftAntialias :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkXftDpi :: IsSettings o => Int32 -> IO (GValueConstruct o)
- getSettingsGtkXftDpi :: (MonadIO m, IsSettings o) => o -> m Int32
- setSettingsGtkXftDpi :: (MonadIO m, IsSettings o) => o -> Int32 -> m ()
- constructSettingsGtkXftHinting :: IsSettings o => Int32 -> IO (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 => Text -> IO (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 => Text -> IO (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
GObject Settings Source # | |
Defined in GI.Gtk.Objects.Settings gobjectType :: Settings -> IO GType # | |
IsObject Settings Source # | |
Defined in GI.Gtk.Objects.Settings | |
IsStyleProvider Settings Source # | |
Defined in GI.Gtk.Objects.Settings | |
IsSettings Settings Source # | |
Defined in GI.Gtk.Objects.Settings |
class GObject o => IsSettings o Source #
Type class for types which can be safely cast to Settings
, for instance with toSettings
.
Instances
(GObject a, (UnknownAncestorError Settings a :: Constraint)) => IsSettings a Source # | |
Defined in GI.Gtk.Objects.Settings | |
IsSettings Settings Source # | |
Defined in GI.Gtk.Objects.Settings |
toSettings :: (MonadIO m, IsSettings o) => o -> m Settings Source #
Methods
getDefault
:: (HasCallStack, MonadIO m) | |
=> m (Maybe Settings) | Returns: a |
Gets the Settings
object for the default GDK screen, creating
it if necessary. See settingsGetForScreen
.
getForScreen
:: (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 #
:: (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 => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-alternative-button-order
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkAlternativeButtonOrder :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-alternative-button-order
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkAlternativeButtonOrder
setSettingsGtkAlternativeButtonOrder :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-alternative-button-order
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkAlternativeButtonOrder:=
value ]
gtkAlternativeSortArrows
Controls the direction of the sort indicators in sorted list and tree
views. By default an arrow pointing down means the column is sorted
in ascending order. When set to True
, this order will be inverted.
Since: 2.12
constructSettingsGtkAlternativeSortArrows :: IsSettings o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-alternative-sort-arrows
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkAlternativeSortArrows :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-alternative-sort-arrows
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkAlternativeSortArrows
setSettingsGtkAlternativeSortArrows :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-alternative-sort-arrows
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkAlternativeSortArrows:=
value ]
gtkApplicationPreferDarkTheme
Whether the application prefers to use a dark theme. If a GTK+ theme includes a dark variant, it will be used instead of the configured theme.
Some applications benefit from minimizing the amount of light pollution that interferes with the content. Good candidates for dark themes are photo and video editors that make the actual content get all the attention and minimize the distraction of the chrome.
Dark themes should not be used for documents, where large spaces are white/light and the dark chrome creates too much contrast (web browser, text editor...).
Since: 3.0
constructSettingsGtkApplicationPreferDarkTheme :: IsSettings o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-application-prefer-dark-theme
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkApplicationPreferDarkTheme :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-application-prefer-dark-theme
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkApplicationPreferDarkTheme
setSettingsGtkApplicationPreferDarkTheme :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-application-prefer-dark-theme
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkApplicationPreferDarkTheme:=
value ]
gtkAutoMnemonics
Whether mnemonics should be automatically shown and hidden when the user presses the mnemonic activator.
Since: 2.20
constructSettingsGtkAutoMnemonics :: IsSettings o => Bool -> IO (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
set
settings [ #gtkAutoMnemonics:=
value ]
gtkButtonImages
Whether images should be shown on buttons
Since: 2.4
constructSettingsGtkButtonImages :: IsSettings o => Bool -> IO (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
set
settings [ #gtkButtonImages:=
value ]
gtkCanChangeAccels
Whether menu accelerators can be changed by pressing a key over the menu item.
constructSettingsGtkCanChangeAccels :: IsSettings o => Bool -> IO (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
set
settings [ #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 => Text -> IO (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
set
settings [ #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 => Text -> IO (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
set
settings [ #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 => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-cursor-blink
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkCursorBlink :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-cursor-blink
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkCursorBlink
setSettingsGtkCursorBlink :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-cursor-blink
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkCursorBlink:=
value ]
gtkCursorBlinkTime
No description available in the introspection data.
constructSettingsGtkCursorBlinkTime :: IsSettings o => Int32 -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-cursor-blink-time
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkCursorBlinkTime :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-cursor-blink-time
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkCursorBlinkTime
setSettingsGtkCursorBlinkTime :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-cursor-blink-time
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkCursorBlinkTime:=
value ]
gtkCursorBlinkTimeout
Time after which the cursor stops blinking, in seconds. The timer is reset after each user interaction.
Setting this to zero has the same effect as setting
Settings
:gtk-cursor-blink
to False
.
Since: 2.12
constructSettingsGtkCursorBlinkTimeout :: IsSettings o => Int32 -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-cursor-blink-timeout
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkCursorBlinkTimeout :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-cursor-blink-timeout
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkCursorBlinkTimeout
setSettingsGtkCursorBlinkTimeout :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-cursor-blink-timeout
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkCursorBlinkTimeout:=
value ]
gtkCursorThemeName
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 => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-cursor-theme-name
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkCursorThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-cursor-theme-name
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkCursorThemeName
setSettingsGtkCursorThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-cursor-theme-name
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkCursorThemeName:=
value ]
gtkCursorThemeSize
No description available in the introspection data.
constructSettingsGtkCursorThemeSize :: IsSettings o => Int32 -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-cursor-theme-size
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkCursorThemeSize :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-cursor-theme-size
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkCursorThemeSize
setSettingsGtkCursorThemeSize :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-cursor-theme-size
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkCursorThemeSize:=
value ]
gtkDecorationLayout
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 => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-decoration-layout
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkDecorationLayout :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-decoration-layout
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkDecorationLayout
setSettingsGtkDecorationLayout :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-decoration-layout
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkDecorationLayout:=
value ]
gtkDialogsUseHeader
Whether builtin GTK+ dialogs such as the file chooser, the color chooser or the font chooser will use a header bar at the top to show action widgets, or an action area at the bottom.
This setting does not affect custom dialogs using GtkDialog directly, or message dialogs.
Since: 3.12
constructSettingsGtkDialogsUseHeader :: IsSettings o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-dialogs-use-header
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkDialogsUseHeader :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-dialogs-use-header
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkDialogsUseHeader
setSettingsGtkDialogsUseHeader :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-dialogs-use-header
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkDialogsUseHeader:=
value ]
gtkDndDragThreshold
No description available in the introspection data.
constructSettingsGtkDndDragThreshold :: IsSettings o => Int32 -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-dnd-drag-threshold
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkDndDragThreshold :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-dnd-drag-threshold
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkDndDragThreshold
setSettingsGtkDndDragThreshold :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-dnd-drag-threshold
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkDndDragThreshold:=
value ]
gtkDoubleClickDistance
No description available in the introspection data.
constructSettingsGtkDoubleClickDistance :: IsSettings o => Int32 -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-double-click-distance
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkDoubleClickDistance :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-double-click-distance
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkDoubleClickDistance
setSettingsGtkDoubleClickDistance :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-double-click-distance
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkDoubleClickDistance:=
value ]
gtkDoubleClickTime
No description available in the introspection data.
constructSettingsGtkDoubleClickTime :: IsSettings o => Int32 -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-double-click-time
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkDoubleClickTime :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-double-click-time
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkDoubleClickTime
setSettingsGtkDoubleClickTime :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-double-click-time
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkDoubleClickTime:=
value ]
gtkEnableAccels
Whether menu items should have visible accelerators which can be activated.
Since: 2.12
constructSettingsGtkEnableAccels :: IsSettings o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-enable-accels
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkEnableAccels :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-enable-accels
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkEnableAccels
setSettingsGtkEnableAccels :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-enable-accels
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkEnableAccels:=
value ]
gtkEnableAnimations
No description available in the introspection data.
constructSettingsGtkEnableAnimations :: IsSettings o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-enable-animations
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkEnableAnimations :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-enable-animations
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkEnableAnimations
setSettingsGtkEnableAnimations :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-enable-animations
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkEnableAnimations:=
value ]
gtkEnableEventSounds
Whether to play any event sounds at all.
See the Sound Theme Specifications for more information on event sounds and sound themes.
GTK+ itself does not support event sounds, you have to use a loadable module like the one that comes with libcanberra.
Since: 2.14
constructSettingsGtkEnableEventSounds :: IsSettings o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-enable-event-sounds
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkEnableEventSounds :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-enable-event-sounds
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkEnableEventSounds
setSettingsGtkEnableEventSounds :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-enable-event-sounds
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkEnableEventSounds:=
value ]
gtkEnableInputFeedbackSounds
Whether to play event sounds as feedback to user input.
See the Sound Theme Specifications for more information on event sounds and sound themes.
GTK+ itself does not support event sounds, you have to use a loadable module like the one that comes with libcanberra.
Since: 2.14
constructSettingsGtkEnableInputFeedbackSounds :: IsSettings o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-enable-input-feedback-sounds
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkEnableInputFeedbackSounds :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-enable-input-feedback-sounds
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkEnableInputFeedbackSounds
setSettingsGtkEnableInputFeedbackSounds :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-enable-input-feedback-sounds
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkEnableInputFeedbackSounds:=
value ]
gtkEnableMnemonics
Whether labels and menu items should have visible mnemonics which can be activated.
Since: 2.12
constructSettingsGtkEnableMnemonics :: IsSettings o => Bool -> IO (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
set
settings [ #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 => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-enable-primary-paste
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkEnablePrimaryPaste :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-enable-primary-paste
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkEnablePrimaryPaste
setSettingsGtkEnablePrimaryPaste :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-enable-primary-paste
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkEnablePrimaryPaste:=
value ]
gtkEnableTooltips
Whether tooltips should be shown on widgets.
Since: 2.14
constructSettingsGtkEnableTooltips :: IsSettings o => Bool -> IO (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
set
settings [ #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 => Word32 -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-entry-password-hint-timeout
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkEntryPasswordHintTimeout :: (MonadIO m, IsSettings o) => o -> m Word32 Source #
Get the value of the “gtk-entry-password-hint-timeout
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkEntryPasswordHintTimeout
setSettingsGtkEntryPasswordHintTimeout :: (MonadIO m, IsSettings o) => o -> Word32 -> m () Source #
Set the value of the “gtk-entry-password-hint-timeout
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkEntryPasswordHintTimeout:=
value ]
gtkEntrySelectOnFocus
No description available in the introspection data.
constructSettingsGtkEntrySelectOnFocus :: IsSettings o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-entry-select-on-focus
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkEntrySelectOnFocus :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-entry-select-on-focus
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkEntrySelectOnFocus
setSettingsGtkEntrySelectOnFocus :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-entry-select-on-focus
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkEntrySelectOnFocus:=
value ]
gtkErrorBell
When True
, keyboard navigation and other input-related errors
will cause a beep. Since the error bell is implemented using
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 => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-error-bell
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkErrorBell :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-error-bell
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkErrorBell
setSettingsGtkErrorBell :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-error-bell
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkErrorBell:=
value ]
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 => Text -> IO (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
set
settings [ #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 => Text -> IO (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
set
settings [ #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 => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-font-name
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkFontName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-font-name
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkFontName
setSettingsGtkFontName :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-font-name
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkFontName:=
value ]
gtkFontconfigTimestamp
No description available in the introspection data.
constructSettingsGtkFontconfigTimestamp :: IsSettings o => Word32 -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-fontconfig-timestamp
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkFontconfigTimestamp :: (MonadIO m, IsSettings o) => o -> m Word32 Source #
Get the value of the “gtk-fontconfig-timestamp
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkFontconfigTimestamp
setSettingsGtkFontconfigTimestamp :: (MonadIO m, IsSettings o) => o -> Word32 -> m () Source #
Set the value of the “gtk-fontconfig-timestamp
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkFontconfigTimestamp:=
value ]
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 => Text -> IO (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
set
settings [ #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 => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-icon-theme-name
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkIconThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-icon-theme-name
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkIconThemeName
setSettingsGtkIconThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-icon-theme-name
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkIconThemeName:=
value ]
gtkImModule
Which IM (input method) module should be used by default. This is the input method that will be used if the user has not explicitly chosen another input method from the IM context menu. This also can be a colon-separated list of input methods, which GTK+ will try in turn until it finds one available on the system.
See IMContext
.
clearSettingsGtkImModule :: (MonadIO m, IsSettings o) => o -> m () Source #
Set the value of the “gtk-im-module
” property to Nothing
.
When overloading is enabled, this is equivalent to
clear
#gtkImModule
constructSettingsGtkImModule :: IsSettings o => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-im-module
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkImModule :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-im-module
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkImModule
setSettingsGtkImModule :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-im-module
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkImModule:=
value ]
gtkImPreeditStyle
How to draw the input method preedit string.
constructSettingsGtkImPreeditStyle :: IsSettings o => IMPreeditStyle -> IO (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
set
settings [ #gtkImPreeditStyle:=
value ]
gtkImStatusStyle
How to draw the input method statusbar.
constructSettingsGtkImStatusStyle :: IsSettings o => IMStatusStyle -> IO (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
set
settings [ #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 => Text -> IO (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
set
settings [ #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 => Bool -> IO (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
set
settings [ #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 => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-keynav-use-caret
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkKeynavUseCaret :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-keynav-use-caret
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkKeynavUseCaret
setSettingsGtkKeynavUseCaret :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-keynav-use-caret
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkKeynavUseCaret:=
value ]
gtkKeynavWrapAround
When True
, some widgets will wrap around when doing keyboard
navigation, such as menus, menubars and notebooks.
Since: 2.12
constructSettingsGtkKeynavWrapAround :: IsSettings o => Bool -> IO (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
set
settings [ #gtkKeynavWrapAround:=
value ]
gtkLabelSelectOnFocus
No description available in the introspection data.
constructSettingsGtkLabelSelectOnFocus :: IsSettings o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-label-select-on-focus
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkLabelSelectOnFocus :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-label-select-on-focus
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkLabelSelectOnFocus
setSettingsGtkLabelSelectOnFocus :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-label-select-on-focus
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkLabelSelectOnFocus:=
value ]
gtkLongPressTime
The time for a button or touch press to be considered a "long press".
Since: 3.14
constructSettingsGtkLongPressTime :: IsSettings o => Word32 -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-long-press-time
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkLongPressTime :: (MonadIO m, IsSettings o) => o -> m Word32 Source #
Get the value of the “gtk-long-press-time
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkLongPressTime
setSettingsGtkLongPressTime :: (MonadIO m, IsSettings o) => o -> Word32 -> m () Source #
Set the value of the “gtk-long-press-time
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkLongPressTime:=
value ]
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 => Text -> IO (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
set
settings [ #gtkMenuBarAccel:=
value ]
gtkMenuBarPopupDelay
Delay before the submenus of a menu bar appear.
constructSettingsGtkMenuBarPopupDelay :: IsSettings o => Int32 -> IO (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
set
settings [ #gtkMenuBarPopupDelay:=
value ]
gtkMenuImages
Whether images should be shown in menu items
constructSettingsGtkMenuImages :: IsSettings o => Bool -> IO (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
set
settings [ #gtkMenuImages:=
value ]
gtkMenuPopdownDelay
The time before hiding a submenu when the pointer is moving towards the submenu.
constructSettingsGtkMenuPopdownDelay :: IsSettings o => Int32 -> IO (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
set
settings [ #gtkMenuPopdownDelay:=
value ]
gtkMenuPopupDelay
Minimum time the pointer must stay over a menu item before the submenu appear.
constructSettingsGtkMenuPopupDelay :: IsSettings o => Int32 -> IO (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
set
settings [ #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 => Text -> IO (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
set
settings [ #gtkModules:=
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 => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-primary-button-warps-slider
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkPrimaryButtonWarpsSlider :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-primary-button-warps-slider
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkPrimaryButtonWarpsSlider
setSettingsGtkPrimaryButtonWarpsSlider :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-primary-button-warps-slider
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkPrimaryButtonWarpsSlider:=
value ]
gtkPrintBackends
A comma-separated list of print backends to use in the print dialog. Available print backends depend on the GTK+ installation, and may include "file", "cups", "lpr" or "papi".
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 => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-print-backends
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkPrintBackends :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-print-backends
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkPrintBackends
setSettingsGtkPrintBackends :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-print-backends
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkPrintBackends:=
value ]
gtkPrintPreviewCommand
A command to run for displaying the print preview. The command
should contain a %f
placeholder, which will get replaced by
the path to the pdf file. The command may also contain a %s
placeholder, which will get replaced by the path to a file
containing the print settings in the format produced by
printSettingsToFile
.
The preview application is responsible for removing the pdf file and the print settings file when it is done.
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 => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-print-preview-command
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkPrintPreviewCommand :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-print-preview-command
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkPrintPreviewCommand
setSettingsGtkPrintPreviewCommand :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-print-preview-command
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkPrintPreviewCommand:=
value ]
gtkRecentFilesEnabled
Whether GTK+ should keep track of items inside the recently used
resources list. If set to False
, the list will always be empty.
Since: 3.8
constructSettingsGtkRecentFilesEnabled :: IsSettings o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-recent-files-enabled
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkRecentFilesEnabled :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-recent-files-enabled
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkRecentFilesEnabled
setSettingsGtkRecentFilesEnabled :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-recent-files-enabled
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkRecentFilesEnabled:=
value ]
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 => Int32 -> IO (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
set
settings [ #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 => Int32 -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-recent-files-max-age
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkRecentFilesMaxAge :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-recent-files-max-age
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkRecentFilesMaxAge
setSettingsGtkRecentFilesMaxAge :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-recent-files-max-age
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkRecentFilesMaxAge:=
value ]
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 => CornerType -> IO (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
set
settings [ #gtkScrolledWindowPlacement:=
value ]
gtkShellShowsAppMenu
No description available in the introspection data.
constructSettingsGtkShellShowsAppMenu :: IsSettings o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-shell-shows-app-menu
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkShellShowsAppMenu :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-shell-shows-app-menu
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkShellShowsAppMenu
setSettingsGtkShellShowsAppMenu :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-shell-shows-app-menu
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkShellShowsAppMenu:=
value ]
gtkShellShowsDesktop
No description available in the introspection data.
constructSettingsGtkShellShowsDesktop :: IsSettings o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-shell-shows-desktop
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkShellShowsDesktop :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-shell-shows-desktop
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkShellShowsDesktop
setSettingsGtkShellShowsDesktop :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-shell-shows-desktop
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkShellShowsDesktop:=
value ]
gtkShellShowsMenubar
No description available in the introspection data.
constructSettingsGtkShellShowsMenubar :: IsSettings o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-shell-shows-menubar
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkShellShowsMenubar :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-shell-shows-menubar
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkShellShowsMenubar
setSettingsGtkShellShowsMenubar :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-shell-shows-menubar
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkShellShowsMenubar:=
value ]
gtkShowInputMethodMenu
No description available in the introspection data.
constructSettingsGtkShowInputMethodMenu :: IsSettings o => Bool -> IO (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
set
settings [ #gtkShowInputMethodMenu:=
value ]
gtkShowUnicodeMenu
No description available in the introspection data.
constructSettingsGtkShowUnicodeMenu :: IsSettings o => Bool -> IO (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
set
settings [ #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 => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-sound-theme-name
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkSoundThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-sound-theme-name
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkSoundThemeName
setSettingsGtkSoundThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-sound-theme-name
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkSoundThemeName:=
value ]
gtkSplitCursor
No description available in the introspection data.
constructSettingsGtkSplitCursor :: IsSettings o => Bool -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-split-cursor
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkSplitCursor :: (MonadIO m, IsSettings o) => o -> m Bool Source #
Get the value of the “gtk-split-cursor
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkSplitCursor
setSettingsGtkSplitCursor :: (MonadIO m, IsSettings o) => o -> Bool -> m () Source #
Set the value of the “gtk-split-cursor
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkSplitCursor:=
value ]
gtkThemeName
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 => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-theme-name
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkThemeName :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-theme-name
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkThemeName
setSettingsGtkThemeName :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-theme-name
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkThemeName:=
value ]
gtkTimeoutExpand
No description available in the introspection data.
constructSettingsGtkTimeoutExpand :: IsSettings o => Int32 -> IO (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
set
settings [ #gtkTimeoutExpand:=
value ]
gtkTimeoutInitial
No description available in the introspection data.
constructSettingsGtkTimeoutInitial :: IsSettings o => Int32 -> IO (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
set
settings [ #gtkTimeoutInitial:=
value ]
gtkTimeoutRepeat
No description available in the introspection data.
constructSettingsGtkTimeoutRepeat :: IsSettings o => Int32 -> IO (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
set
settings [ #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 => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-titlebar-double-click
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkTitlebarDoubleClick :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-titlebar-double-click
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkTitlebarDoubleClick
setSettingsGtkTitlebarDoubleClick :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-titlebar-double-click
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkTitlebarDoubleClick:=
value ]
gtkTitlebarMiddleClick
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 => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-titlebar-middle-click
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkTitlebarMiddleClick :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-titlebar-middle-click
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkTitlebarMiddleClick
setSettingsGtkTitlebarMiddleClick :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-titlebar-middle-click
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkTitlebarMiddleClick:=
value ]
gtkTitlebarRightClick
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 => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-titlebar-right-click
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkTitlebarRightClick :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-titlebar-right-click
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkTitlebarRightClick
setSettingsGtkTitlebarRightClick :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-titlebar-right-click
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkTitlebarRightClick:=
value ]
gtkToolbarIconSize
The size of icons in default toolbars.
constructSettingsGtkToolbarIconSize :: IsSettings o => IconSize -> IO (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
set
settings [ #gtkToolbarIconSize:=
value ]
gtkToolbarStyle
The size of icons in default toolbars.
constructSettingsGtkToolbarStyle :: IsSettings o => ToolbarStyle -> IO (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
set
settings [ #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 => Int32 -> IO (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
set
settings [ #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 => Int32 -> IO (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
set
settings [ #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 => Int32 -> IO (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
set
settings [ #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 => Bool -> IO (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
set
settings [ #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 => PolicyType -> IO (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
set
settings [ #gtkVisibleFocus:=
value ]
gtkXftAntialias
No description available in the introspection data.
constructSettingsGtkXftAntialias :: IsSettings o => Int32 -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-xft-antialias
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkXftAntialias :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-xft-antialias
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkXftAntialias
setSettingsGtkXftAntialias :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-xft-antialias
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkXftAntialias:=
value ]
gtkXftDpi
No description available in the introspection data.
constructSettingsGtkXftDpi :: IsSettings o => Int32 -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-xft-dpi
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkXftDpi :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-xft-dpi
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkXftDpi
setSettingsGtkXftDpi :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-xft-dpi
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkXftDpi:=
value ]
gtkXftHinting
No description available in the introspection data.
constructSettingsGtkXftHinting :: IsSettings o => Int32 -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-xft-hinting
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkXftHinting :: (MonadIO m, IsSettings o) => o -> m Int32 Source #
Get the value of the “gtk-xft-hinting
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkXftHinting
setSettingsGtkXftHinting :: (MonadIO m, IsSettings o) => o -> Int32 -> m () Source #
Set the value of the “gtk-xft-hinting
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkXftHinting:=
value ]
gtkXftHintstyle
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 => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-xft-hintstyle
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkXftHintstyle :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-xft-hintstyle
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkXftHintstyle
setSettingsGtkXftHintstyle :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-xft-hintstyle
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkXftHintstyle:=
value ]
gtkXftRgba
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 => Text -> IO (GValueConstruct o) Source #
Construct a GValueConstruct
with valid value for the “gtk-xft-rgba
” property. This is rarely needed directly, but it is used by new
.
getSettingsGtkXftRgba :: (MonadIO m, IsSettings o) => o -> m (Maybe Text) Source #
Get the value of the “gtk-xft-rgba
” property.
When overloading is enabled, this is equivalent to
get
settings #gtkXftRgba
setSettingsGtkXftRgba :: (MonadIO m, IsSettings o) => o -> Text -> m () Source #
Set the value of the “gtk-xft-rgba
” property.
When overloading is enabled, this is equivalent to
set
settings [ #gtkXftRgba:=
value ]