SettingsPropertyName

public enum SettingsPropertyName : String, PropertyNameProtocol

Undocumented

  • Holds a hash table representation of the GtkSettings:gtk-color-scheme setting, mapping color names to GdkColors.

    color-hash is deprecated: Will always return an empty hash table.

    Declaration

    Swift

    case colorHash = "color-hash"
  • Undocumented

    Declaration

    Swift

    case gtkAlternativeButtonOrder = "gtk-alternative-button-order"
  • 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.

    Declaration

    Swift

    case gtkAlternativeSortArrows = "gtk-alternative-sort-arrows"
  • 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…).

    Declaration

    Swift

    case gtkApplicationPreferDarkTheme = "gtk-application-prefer-dark-theme"
  • Whether mnemonics should be automatically shown and hidden when the user presses the mnemonic activator.

    gtk-auto-mnemonics is deprecated: This setting is ignored

    Declaration

    Swift

    case gtkAutoMnemonics = "gtk-auto-mnemonics"
  • Whether images should be shown on buttons

    gtk-button-images is deprecated: This setting is deprecated. Application developers control whether a button should show an icon or not, on a per-button basis. If a #GtkButton should show an icon, use the #GtkButton:always-show-image property of #GtkButton, and pack a #GtkImage inside the #GtkButton

    Declaration

    Swift

    case gtkButtonImages = "gtk-button-images"
  • Whether menu accelerators can be changed by pressing a key over the menu item.

    gtk-can-change-accels is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkCanChangeAccels = "gtk-can-change-accels"
  • Palette to use in the deprecated color selector.

    gtk-color-palette is deprecated: Only used by the deprecated color selector widget.

    Declaration

    Swift

    case gtkColorPalette = "gtk-color-palette"
  • 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 syntax, and color specifications must be in the format accepted by gdk_color_parse().

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

    gtk-color-scheme is deprecated: Color scheme support was dropped and is no longer supported. You can still set this property, but it will be ignored.

    Declaration

    Swift

    case gtkColorScheme = "gtk-color-scheme"
  • Undocumented

    Declaration

    Swift

    case gtkCursorAspectRatio = "gtk-cursor-aspect-ratio"
  • Whether the cursor should blink.

    Also see the GtkSettings:gtk-cursor-blink-timeout setting, which allows more flexible control over cursor blinking.

    Declaration

    Swift

    case gtkCursorBlink = "gtk-cursor-blink"
  • Undocumented

    Declaration

    Swift

    case gtkCursorBlinkTime = "gtk-cursor-blink-time"
  • 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 GtkSettings:gtk-cursor-blink to false.

    Declaration

    Swift

    case gtkCursorBlinkTimeout = "gtk-cursor-blink-timeout"
  • Undocumented

    Declaration

    Swift

    case gtkCursorThemeName = "gtk-cursor-theme-name"
  • Undocumented

    Declaration

    Swift

    case gtkCursorThemeSize = "gtk-cursor-theme-size"
  • 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 GtkHeaderBar:decoration-layout property.

    Declaration

    Swift

    case gtkDecorationLayout = "gtk-decoration-layout"
  • 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.

    Declaration

    Swift

    case gtkDialogsUseHeader = "gtk-dialogs-use-header"
  • Undocumented

    Declaration

    Swift

    case gtkDndDragThreshold = "gtk-dnd-drag-threshold"
  • Undocumented

    Declaration

    Swift

    case gtkDoubleClickDistance = "gtk-double-click-distance"
  • Undocumented

    Declaration

    Swift

    case gtkDoubleClickTime = "gtk-double-click-time"
  • Whether menu items should have visible accelerators which can be activated.

    Declaration

    Swift

    case gtkEnableAccels = "gtk-enable-accels"
  • Undocumented

    Declaration

    Swift

    case gtkEnableAnimations = "gtk-enable-animations"
  • 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.

    Declaration

    Swift

    case gtkEnableEventSounds = "gtk-enable-event-sounds"
  • 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.

    Declaration

    Swift

    case gtkEnableInputFeedbackSounds = "gtk-enable-input-feedback-sounds"
  • Whether labels and menu items should have visible mnemonics which can be activated.

    gtk-enable-mnemonics is deprecated: This setting can still be used for application overrides, but will be ignored in the future

    Declaration

    Swift

    case gtkEnableMnemonics = "gtk-enable-mnemonics"
  • Whether a middle click on a mouse should paste the ‘PRIMARY’ clipboard content at the cursor location.

    Declaration

    Swift

    case gtkEnablePrimaryPaste = "gtk-enable-primary-paste"
  • Whether tooltips should be shown on widgets.

    gtk-enable-tooltips is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkEnableTooltips = "gtk-enable-tooltips"
  • 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.

    Declaration

    Swift

    case gtkEntryPasswordHintTimeout = "gtk-entry-password-hint-timeout"
  • Undocumented

    Declaration

    Swift

    case gtkEntrySelectOnFocus = "gtk-entry-select-on-focus"
  • When true, keyboard navigation and other input-related errors will cause a beep. Since the error bell is implemented using gdk_window_beep(), the windowing system may offer ways to configure the error bell in many ways, such as flashing the window or similar visual effects.

    Declaration

    Swift

    case gtkErrorBell = "gtk-error-bell"
  • Name of a icon theme to fall back to.

    gtk-fallback-icon-theme is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkFallbackIconTheme = "gtk-fallback-icon-theme"
  • Name of the GtkFileChooser backend to use by default.

    gtk-file-chooser-backend is deprecated: This setting is ignored. #GtkFileChooser uses GIO by default.

    Declaration

    Swift

    case gtkFileChooserBackend = "gtk-file-chooser-backend"
  • The default font to use. GTK+ uses the family name and size from this string.

    Declaration

    Swift

    case gtkFontName = "gtk-font-name"
  • Undocumented

    Declaration

    Swift

    case gtkFontconfigTimestamp = "gtk-fontconfig-timestamp"
  • 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 gtk_icon_size_register().

    gtk-icon-sizes is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkIconSizes = "gtk-icon-sizes"
  • Undocumented

    Declaration

    Swift

    case gtkIconThemeName = "gtk-icon-theme-name"
  • 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 GtkIMContext.

    Declaration

    Swift

    case gtkImModule = "gtk-im-module"
  • How to draw the input method preedit string.

    gtk-im-preedit-style is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkImPreeditStyle = "gtk-im-preedit-style"
  • How to draw the input method statusbar.

    gtk-im-status-style is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkImStatusStyle = "gtk-im-status-style"
  • Undocumented

    Declaration

    Swift

    case gtkKeyThemeName = "gtk-key-theme-name"
  • 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.

    gtk-keynav-cursor-only is deprecated: Generally, the behavior for touchscreen input should be performed dynamically based on gdk_event_get_source_device().

    Declaration

    Swift

    case gtkKeynavCursorOnly = "gtk-keynav-cursor-only"
  • 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.

    Declaration

    Swift

    case gtkKeynavUseCaret = "gtk-keynav-use-caret"
  • When true, some widgets will wrap around when doing keyboard navigation, such as menus, menubars and notebooks.

    gtk-keynav-wrap-around is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkKeynavWrapAround = "gtk-keynav-wrap-around"
  • Undocumented

    Declaration

    Swift

    case gtkLabelSelectOnFocus = "gtk-label-select-on-focus"
  • The time for a button or touch press to be considered a “long press”.

    Declaration

    Swift

    case gtkLongPressTime = "gtk-long-press-time"
  • Keybinding to activate the menu bar.

    gtk-menu-bar-accel is deprecated: This setting can still be used for application overrides, but will be ignored in the future

    Declaration

    Swift

    case gtkMenuBarAccel = "gtk-menu-bar-accel"
  • Delay before the submenus of a menu bar appear.

    gtk-menu-bar-popup-delay is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkMenuBarPopupDelay = "gtk-menu-bar-popup-delay"
  • Whether images should be shown in menu items

    gtk-menu-images is deprecated: This setting is deprecated. Application developers control whether or not a #GtkMenuItem should have an icon or not, on a per widget basis. Either use a #GtkMenuItem with a #GtkBox containing a #GtkImage and a #GtkAccelLabel, or describe your menus using a #GMenu XML description

    Declaration

    Swift

    case gtkMenuImages = "gtk-menu-images"
  • The time before hiding a submenu when the pointer is moving towards the submenu.

    gtk-menu-popdown-delay is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkMenuPopdownDelay = "gtk-menu-popdown-delay"
  • Minimum time the pointer must stay over a menu item before the submenu appear.

    gtk-menu-popup-delay is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkMenuPopupDelay = "gtk-menu-popup-delay"
  • Undocumented

    Declaration

    Swift

    case gtkModules = "gtk-modules"
  • Whether scrolled windows may use overlayed scrolling indicators. If this is set to false, scrolled windows will have permanent scrollbars.

    Declaration

    Swift

    case gtkOverlayScrolling = "gtk-overlay-scrolling"
  • If the value of this setting is true, clicking the primary button in a GtkRange trough will move the slider, and hence set the range’s value, to the point that you clicked. If it is false, a primary click will cause the slider/value to move by the range’s page-size towards the point clicked.

    Whichever action you choose for the primary button, the other action will be available by holding Shift and primary-clicking, or (since GTK+ 3.22.25) clicking the middle mouse button.

    Declaration

    Swift

    case gtkPrimaryButtonWarpsSlider = "gtk-primary-button-warps-slider"
  • 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”.

    Declaration

    Swift

    case gtkPrintBackends = "gtk-print-backends"
  • 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 gtk_print_settings_to_file().

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

    Declaration

    Swift

    case gtkPrintPreviewCommand = "gtk-print-preview-command"
  • Whether GTK+ should keep track of items inside the recently used resources list. If set to false, the list will always be empty.

    Declaration

    Swift

    case gtkRecentFilesEnabled = "gtk-recent-files-enabled"
  • The number of recently used files that should be displayed by default by GtkRecentChooser implementations and by the GtkFileChooser. A value of -1 means every recently used file stored.

    gtk-recent-files-limit is deprecated: This setting is ignored

    Declaration

    Swift

    case gtkRecentFilesLimit = "gtk-recent-files-limit"
  • 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.

    Declaration

    Swift

    case gtkRecentFilesMaxAge = "gtk-recent-files-max-age"
  • Where the contents of scrolled windows are located with respect to the scrollbars, if not overridden by the scrolled window’s own placement.

    gtk-scrolled-window-placement is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkScrolledWindowPlacement = "gtk-scrolled-window-placement"
  • Undocumented

    Declaration

    Swift

    case gtkShellShowsAppMenu = "gtk-shell-shows-app-menu"
  • Undocumented

    Declaration

    Swift

    case gtkShellShowsDesktop = "gtk-shell-shows-desktop"
  • Undocumented

    Declaration

    Swift

    case gtkShellShowsMenubar = "gtk-shell-shows-menubar"
  • gtk-show-input-method-menu is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkShowInputMethodMenu = "gtk-show-input-method-menu"
  • gtk-show-unicode-menu is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkShowUnicodeMenu = "gtk-show-unicode-menu"
  • 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.

    Declaration

    Swift

    case gtkSoundThemeName = "gtk-sound-theme-name"
  • Undocumented

    Declaration

    Swift

    case gtkSplitCursor = "gtk-split-cursor"
  • Undocumented

    Declaration

    Swift

    case gtkThemeName = "gtk-theme-name"
  • gtk-timeout-expand is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkTimeoutExpand = "gtk-timeout-expand"
  • gtk-timeout-initial is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkTimeoutInitial = "gtk-timeout-initial"
  • gtk-timeout-repeat is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkTimeoutRepeat = "gtk-timeout-repeat"
  • 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.

    Declaration

    Swift

    case gtkTitlebarDoubleClick = "gtk-titlebar-double-click"
  • 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.

    Declaration

    Swift

    case gtkTitlebarMiddleClick = "gtk-titlebar-middle-click"
  • 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.

    Declaration

    Swift

    case gtkTitlebarRightClick = "gtk-titlebar-right-click"
  • The size of icons in default toolbars.

    gtk-toolbar-icon-size is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkToolbarIconSize = "gtk-toolbar-icon-size"
  • The size of icons in default toolbars.

    gtk-toolbar-style is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkToolbarStyle = "gtk-toolbar-style"
  • Amount of time, in milliseconds, after which the browse mode will be disabled.

    See GtkSettings:gtk-tooltip-browse-timeout for more information about browse mode.

    gtk-tooltip-browse-mode-timeout is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkTooltipBrowseModeTimeout = "gtk-tooltip-browse-mode-timeout"
  • 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 GtkSettings:gtk-tooltip-browse-mode-timeout), it will take the amount of milliseconds specified by this setting to popup the tooltip for the new object.

    gtk-tooltip-browse-timeout is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkTooltipBrowseTimeout = "gtk-tooltip-browse-timeout"
  • Time, in milliseconds, after which a tooltip could appear if the cursor is hovering on top of a widget.

    gtk-tooltip-timeout is deprecated: This setting is ignored.

    Declaration

    Swift

    case gtkTooltipTimeout = "gtk-tooltip-timeout"
  • 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.

    gtk-touchscreen-mode is deprecated: Generally, the behavior for touchscreen input should be performed dynamically based on gdk_event_get_source_device().

    Declaration

    Swift

    case gtkTouchscreenMode = "gtk-touchscreen-mode"
  • Whether ‘focus rectangles’ should be always visible, never visible, or hidden until the user starts to use the keyboard.

    gtk-visible-focus is deprecated: This setting is ignored

    Declaration

    Swift

    case gtkVisibleFocus = "gtk-visible-focus"
  • Undocumented

    Declaration

    Swift

    case gtkXftAntialias = "gtk-xft-antialias"
  • Undocumented

    Declaration

    Swift

    case gtkXftDpi = "gtk-xft-dpi"
  • Undocumented

    Declaration

    Swift

    case gtkXftHinting = "gtk-xft-hinting"
  • Undocumented

    Declaration

    Swift

    case gtkXftHintstyle = "gtk-xft-hintstyle"
  • Undocumented

    Declaration

    Swift

    case gtkXftRGBA = "gtk-xft-rgba"