Interface

Gtk-4.0GtkSettingsSignalSignatures

interface SignalSignatures {
    notify: (arg0: GObject.ParamSpec) => void;
    "notify::gtk-alternative-button-order": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-alternative-sort-arrows": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-application-prefer-dark-theme": (
        pspec: GObject.ParamSpec,
    ) => void;
    "notify::gtk-cursor-aspect-ratio": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-cursor-blink": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-cursor-blink-time": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-cursor-blink-timeout": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-cursor-theme-name": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-cursor-theme-size": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-decoration-layout": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-dialogs-use-header": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-dnd-drag-threshold": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-double-click-distance": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-double-click-time": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-enable-accels": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-enable-animations": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-enable-event-sounds": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-enable-input-feedback-sounds": (
        pspec: GObject.ParamSpec,
    ) => void;
    "notify::gtk-enable-primary-paste": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-entry-password-hint-timeout": (
        pspec: GObject.ParamSpec,
    ) => void;
    "notify::gtk-entry-select-on-focus": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-error-bell": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-font-name": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-font-rendering": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-fontconfig-timestamp": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-hint-font-metrics": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-icon-theme-name": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-im-module": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-interface-color-scheme": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-interface-contrast": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-keynav-use-caret": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-label-select-on-focus": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-long-press-time": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-overlay-scrolling": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-primary-button-warps-slider": (
        pspec: GObject.ParamSpec,
    ) => void;
    "notify::gtk-print-backends": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-print-preview-command": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-recent-files-enabled": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-recent-files-max-age": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-shell-shows-app-menu": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-shell-shows-desktop": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-shell-shows-menubar": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-show-status-shapes": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-sound-theme-name": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-split-cursor": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-theme-name": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-titlebar-double-click": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-titlebar-middle-click": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-titlebar-right-click": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-xft-antialias": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-xft-dpi": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-xft-hinting": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-xft-hintstyle": (pspec: GObject.ParamSpec) => void;
    "notify::gtk-xft-rgba": (pspec: GObject.ParamSpec) => void;
}

Hierarchy (View Summary)

Index

Properties

notify::gtk-alternative-button-order notify::gtk-alternative-sort-arrows notify::gtk-application-prefer-dark-theme notify::gtk-cursor-aspect-ratio notify::gtk-cursor-blink notify::gtk-cursor-blink-time notify::gtk-cursor-blink-timeout notify::gtk-cursor-theme-name notify::gtk-cursor-theme-size notify::gtk-decoration-layout notify::gtk-dialogs-use-header notify::gtk-dnd-drag-threshold notify::gtk-double-click-distance notify::gtk-double-click-time notify::gtk-enable-accels notify::gtk-enable-animations notify::gtk-enable-event-sounds notify::gtk-enable-input-feedback-sounds notify::gtk-enable-primary-paste notify::gtk-entry-password-hint-timeout notify::gtk-entry-select-on-focus notify::gtk-error-bell notify::gtk-font-name notify::gtk-font-rendering notify::gtk-fontconfig-timestamp notify::gtk-hint-font-metrics notify::gtk-icon-theme-name notify::gtk-im-module notify::gtk-interface-color-scheme notify::gtk-interface-contrast notify::gtk-keynav-use-caret notify::gtk-label-select-on-focus notify::gtk-long-press-time notify::gtk-overlay-scrolling notify::gtk-primary-button-warps-slider notify::gtk-print-backends notify::gtk-print-preview-command notify::gtk-recent-files-enabled notify::gtk-recent-files-max-age notify::gtk-shell-shows-app-menu notify::gtk-shell-shows-desktop notify::gtk-shell-shows-menubar notify::gtk-show-status-shapes notify::gtk-sound-theme-name notify::gtk-split-cursor notify::gtk-theme-name notify::gtk-titlebar-double-click notify::gtk-titlebar-middle-click notify::gtk-titlebar-right-click notify::gtk-xft-antialias notify::gtk-xft-dpi notify::gtk-xft-hinting notify::gtk-xft-hintstyle notify::gtk-xft-rgba

Properties - Inherited from GObject

Properties

"notify::gtk-alternative-button-order": (pspec: GObject.ParamSpec) => void
"notify::gtk-alternative-sort-arrows": (pspec: GObject.ParamSpec) => void
"notify::gtk-application-prefer-dark-theme": (pspec: GObject.ParamSpec) => void
"notify::gtk-cursor-aspect-ratio": (pspec: GObject.ParamSpec) => void
"notify::gtk-cursor-blink": (pspec: GObject.ParamSpec) => void
"notify::gtk-cursor-blink-time": (pspec: GObject.ParamSpec) => void
"notify::gtk-cursor-blink-timeout": (pspec: GObject.ParamSpec) => void
"notify::gtk-cursor-theme-name": (pspec: GObject.ParamSpec) => void
"notify::gtk-cursor-theme-size": (pspec: GObject.ParamSpec) => void
"notify::gtk-decoration-layout": (pspec: GObject.ParamSpec) => void
"notify::gtk-dialogs-use-header": (pspec: GObject.ParamSpec) => void
"notify::gtk-dnd-drag-threshold": (pspec: GObject.ParamSpec) => void
"notify::gtk-double-click-distance": (pspec: GObject.ParamSpec) => void
"notify::gtk-double-click-time": (pspec: GObject.ParamSpec) => void
"notify::gtk-enable-accels": (pspec: GObject.ParamSpec) => void
"notify::gtk-enable-animations": (pspec: GObject.ParamSpec) => void
"notify::gtk-enable-event-sounds": (pspec: GObject.ParamSpec) => void
"notify::gtk-enable-input-feedback-sounds": (pspec: GObject.ParamSpec) => void
"notify::gtk-enable-primary-paste": (pspec: GObject.ParamSpec) => void

notify::gtk-entry-password-hint-timeout

"notify::gtk-entry-password-hint-timeout": (pspec: GObject.ParamSpec) => void

notify::gtk-entry-select-on-focus

"notify::gtk-entry-select-on-focus": (pspec: GObject.ParamSpec) => void
"notify::gtk-error-bell": (pspec: GObject.ParamSpec) => void
"notify::gtk-font-name": (pspec: GObject.ParamSpec) => void
"notify::gtk-font-rendering": (pspec: GObject.ParamSpec) => void
"notify::gtk-fontconfig-timestamp": (pspec: GObject.ParamSpec) => void
"notify::gtk-hint-font-metrics": (pspec: GObject.ParamSpec) => void
"notify::gtk-icon-theme-name": (pspec: GObject.ParamSpec) => void
"notify::gtk-im-module": (pspec: GObject.ParamSpec) => void
"notify::gtk-interface-color-scheme": (pspec: GObject.ParamSpec) => void
"notify::gtk-interface-contrast": (pspec: GObject.ParamSpec) => void
"notify::gtk-keynav-use-caret": (pspec: GObject.ParamSpec) => void
"notify::gtk-label-select-on-focus": (pspec: GObject.ParamSpec) => void
"notify::gtk-long-press-time": (pspec: GObject.ParamSpec) => void
"notify::gtk-overlay-scrolling": (pspec: GObject.ParamSpec) => void
"notify::gtk-primary-button-warps-slider": (pspec: GObject.ParamSpec) => void
"notify::gtk-print-backends": (pspec: GObject.ParamSpec) => void
"notify::gtk-print-preview-command": (pspec: GObject.ParamSpec) => void
"notify::gtk-recent-files-enabled": (pspec: GObject.ParamSpec) => void
"notify::gtk-recent-files-max-age": (pspec: GObject.ParamSpec) => void
"notify::gtk-shell-shows-app-menu": (pspec: GObject.ParamSpec) => void
"notify::gtk-shell-shows-desktop": (pspec: GObject.ParamSpec) => void
"notify::gtk-shell-shows-menubar": (pspec: GObject.ParamSpec) => void
"notify::gtk-show-status-shapes": (pspec: GObject.ParamSpec) => void
"notify::gtk-sound-theme-name": (pspec: GObject.ParamSpec) => void
"notify::gtk-split-cursor": (pspec: GObject.ParamSpec) => void
"notify::gtk-theme-name": (pspec: GObject.ParamSpec) => void
"notify::gtk-titlebar-double-click": (pspec: GObject.ParamSpec) => void
"notify::gtk-titlebar-middle-click": (pspec: GObject.ParamSpec) => void
"notify::gtk-titlebar-right-click": (pspec: GObject.ParamSpec) => void
"notify::gtk-xft-antialias": (pspec: GObject.ParamSpec) => void
"notify::gtk-xft-dpi": (pspec: GObject.ParamSpec) => void
"notify::gtk-xft-hinting": (pspec: GObject.ParamSpec) => void
"notify::gtk-xft-hintstyle": (pspec: GObject.ParamSpec) => void
"notify::gtk-xft-rgba": (pspec: GObject.ParamSpec) => void

Properties - Inherited from GObject

notify: (arg0: GObject.ParamSpec) => void

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 GObject.ParamFlags.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 GObject.ParamFlags.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:

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][class@GObject.ParamSpec#parameter-names] as detail strings for the notify signal.