SettingsSignalName

public enum SettingsSignalName : String, SignalNameProtocol

Undocumented

  • The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

    Note that getting this signal doesn’t itself guarantee that the value of the property has actually changed. When it is emitted is determined by the derived GObject class. If the implementor did not create the property with G_PARAM_EXPLICIT_NOTIFY, then any call to g_object_set_property() results in notify being emitted, even if the new value is the same as the old. If they did pass G_PARAM_EXPLICIT_NOTIFY, then this signal is emitted only when they explicitly call g_object_notify() or g_object_notify_by_pspec(), and common practice is to do that only when the value has actually changed.

    This signal is typically used to obtain change notification for a single property, by specifying the property name as a detail in the g_signal_connect() call, like this:

    (C Language Example):

    g_signal_connect (text_view->buffer, "notify::paste-target-list",
                      G_CALLBACK (gtk_text_view_target_list_notify),
                      text_view)
    

    It is important to note that you must use canonical parameter names as detail strings for the notify signal.

    Declaration

    Swift

    case notify = "notify"
  • Whether buttons in dialogs should use the alternative button order.

    Declaration

    Swift

    case notifyGtkAlternativeButtonOrder = "notify::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 notifyGtkAlternativeSortArrows = "notify::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 notifyGtkApplicationPreferDarkTheme = "notify::gtk-application-prefer-dark-theme"
  • The aspect ratio of the text caret.

    Declaration

    Swift

    case notifyGtkCursorAspectRatio = "notify::gtk-cursor-aspect-ratio"
  • Whether the cursor should blink.

    Also see the [propertyGtk.Settings:gtk-cursor-blink-timeout] setting, which allows more flexible control over cursor blinking.

    Declaration

    Swift

    case notifyGtkCursorBlink = "notify::gtk-cursor-blink"
  • Length of the cursor blink cycle, in milliseconds.

    Declaration

    Swift

    case notifyGtkCursorBlinkTime = "notify::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 [propertyGtk.Settings:gtk-cursor-blink] to false.

    Declaration

    Swift

    case notifyGtkCursorBlinkTimeout = "notify::gtk-cursor-blink-timeout"
  • Name of the cursor theme to use.

    Use nil to use the default theme.

    Declaration

    Swift

    case notifyGtkCursorThemeName = "notify::gtk-cursor-theme-name"
  • The size to use for cursors.

    0 means to use the default size.

    Declaration

    Swift

    case notifyGtkCursorThemeSize = "notify::gtk-cursor-theme-size"
  • 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 [propertyGtk.HeaderBar:decoration-layout] property.

    Declaration

    Swift

    case notifyGtkDecorationLayout = "notify::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 notifyGtkDialogsUseHeader = "notify::gtk-dialogs-use-header"
  • The number of pixels the cursor can move before dragging.

    Declaration

    Swift

    case notifyGtkDndDragThreshold = "notify::gtk-dnd-drag-threshold"
  • The maximum distance allowed between two clicks for them to be considered a double click, in pixels.

    Declaration

    Swift

    case notifyGtkDoubleClickDistance = "notify::gtk-double-click-distance"
  • The maximum time to allow between two clicks for them to be considered a double click, in milliseconds.

    Declaration

    Swift

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

    Declaration

    Swift

    case notifyGtkEnableAccels = "notify::gtk-enable-accels"
  • Whether to enable toolkit-wide animations.

    Declaration

    Swift

    case notifyGtkEnableAnimations = "notify::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 notifyGtkEnableEventSounds = "notify::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 notifyGtkEnableInputFeedbackSounds = "notify::gtk-enable-input-feedback-sounds"
  • Whether a middle click on a mouse should paste the ‘PRIMARY’ clipboard content at the cursor location.

    Declaration

    Swift

    case notifyGtkEnablePrimaryPaste = "notify::gtk-enable-primary-paste"
  • 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 notifyGtkEntryPasswordHintTimeout = "notify::gtk-entry-password-hint-timeout"
  • Undocumented

    Declaration

    Swift

    case notifyGtkEntrySelectOnFocus = "notify::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_surface_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 notifyGtkErrorBell = "notify::gtk-error-bell"
  • The default font to use.

    GTK uses the family name and size from this string.

    Declaration

    Swift

    case notifyGtkFontName = "notify::gtk-font-name"
  • Timestamp of the curent fontconfig configuration.

    Declaration

    Swift

    case notifyGtkFontconfigTimestamp = "notify::gtk-fontconfig-timestamp"
  • Name of the icon theme to use.

    See [classGtk.IconTheme] for details about how GTK handles icon themes.

    Declaration

    Swift

    case notifyGtkIconThemeName = "notify::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 [classGtk.IMContext].

    Declaration

    Swift

    case notifyGtkImModule = "notify::gtk-im-module"
  • 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 notifyGtkKeynavUseCaret = "notify::gtk-keynav-use-caret"
  • Whether to select the contents of a selectable label when it is focused.

    Declaration

    Swift

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

    See [classGtk.GestureLongPress].

    Declaration

    Swift

    case notifyGtkLongPressTime = "notify::gtk-long-press-time"
  • Whether scrolled windows may use overlaid scrolling indicators.

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

    Declaration

    Swift

    case notifyGtkOverlayScrolling = "notify::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 clicking the middle mouse button.

    Declaration

    Swift

    case notifyGtkPrimaryButtonWarpsSlider = "notify::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 notifyGtkPrintBackends = "notify::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 [methodGtk.PrintSettings.to_file].

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

    Declaration

    Swift

    case notifyGtkPrintPreviewCommand = "notify::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 notifyGtkRecentFilesEnabled = "notify::gtk-recent-files-enabled"
  • 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 notifyGtkRecentFilesMaxAge = "notify::gtk-recent-files-max-age"
  • Set to true if the desktop environment is displaying the app menu, false if the app should display it itself.

    Declaration

    Swift

    case notifyGtkShellShowsAppMenu = "notify::gtk-shell-shows-app-menu"
  • Set to true if the desktop environment is displaying the desktop folder, false if not.

    Declaration

    Swift

    case notifyGtkShellShowsDesktop = "notify::gtk-shell-shows-desktop"
  • Set to true if the desktop environment is displaying the menubar, false if the app should display it itself.

    Declaration

    Swift

    case notifyGtkShellShowsMenubar = "notify::gtk-shell-shows-menubar"
  • 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 notifyGtkSoundThemeName = "notify::gtk-sound-theme-name"
  • Whether two cursors should be displayed for mixed left-to-right and right-to-left text.

    Declaration

    Swift

    case notifyGtkSplitCursor = "notify::gtk-split-cursor"
  • Name of the theme to load.

    See [classGtk.CssProvider] for details about how GTK finds the CSS stylesheet for a theme.

    Declaration

    Swift

    case notifyGtkThemeName = "notify::gtk-theme-name"
  • 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 notifyGtkTitlebarDoubleClick = "notify::gtk-titlebar-double-click"
  • 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 notifyGtkTitlebarMiddleClick = "notify::gtk-titlebar-middle-click"
  • 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 notifyGtkTitlebarRightClick = "notify::gtk-titlebar-right-click"
  • Whether to antialias fonts.

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

    Declaration

    Swift

    case notifyGtkXftAntialias = "notify::gtk-xft-antialias"
  • The font resolution, in 1024 * dots/inch.

    -1 to use the default value.

    Declaration

    Swift

    case notifyGtkXftDpi = "notify::gtk-xft-dpi"
  • Whether to enable font hinting.

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

    Declaration

    Swift

    case notifyGtkXftHinting = "notify::gtk-xft-hinting"
  • What degree of font hinting to use.

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

    Declaration

    Swift

    case notifyGtkXftHintstyle = "notify::gtk-xft-hintstyle"
  • The type of subpixel antialiasing to use.

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

    Declaration

    Swift

    case notifyGtkXftRgba = "notify::gtk-xft-rgba"