Interface

WebKit-6.0WebKitSettingsSignalSignatures

interface SignalSignatures {
    notify: (arg0: GObject.ParamSpec) => void;
    "notify::allow-file-access-from-file-urls": (
        pspec: GObject.ParamSpec,
    ) => void;
    "notify::allow-modal-dialogs": (pspec: GObject.ParamSpec) => void;
    "notify::allow-top-navigation-to-data-urls": (
        pspec: GObject.ParamSpec,
    ) => void;
    "notify::allow-universal-access-from-file-urls": (
        pspec: GObject.ParamSpec,
    ) => void;
    "notify::auto-load-images": (pspec: GObject.ParamSpec) => void;
    "notify::cursive-font-family": (pspec: GObject.ParamSpec) => void;
    "notify::default-charset": (pspec: GObject.ParamSpec) => void;
    "notify::default-font-family": (pspec: GObject.ParamSpec) => void;
    "notify::default-font-size": (pspec: GObject.ParamSpec) => void;
    "notify::default-monospace-font-size": (pspec: GObject.ParamSpec) => void;
    "notify::disable-web-security": (pspec: GObject.ParamSpec) => void;
    "notify::draw-compositing-indicators": (pspec: GObject.ParamSpec) => void;
    "notify::enable-2d-canvas-acceleration": (pspec: GObject.ParamSpec) => void;
    "notify::enable-back-forward-navigation-gestures": (
        pspec: GObject.ParamSpec,
    ) => void;
    "notify::enable-caret-browsing": (pspec: GObject.ParamSpec) => void;
    "notify::enable-developer-extras": (pspec: GObject.ParamSpec) => void;
    "notify::enable-dns-prefetching": (pspec: GObject.ParamSpec) => void;
    "notify::enable-encrypted-media": (pspec: GObject.ParamSpec) => void;
    "notify::enable-fullscreen": (pspec: GObject.ParamSpec) => void;
    "notify::enable-html5-database": (pspec: GObject.ParamSpec) => void;
    "notify::enable-html5-local-storage": (pspec: GObject.ParamSpec) => void;
    "notify::enable-hyperlink-auditing": (pspec: GObject.ParamSpec) => void;
    "notify::enable-javascript": (pspec: GObject.ParamSpec) => void;
    "notify::enable-javascript-markup": (pspec: GObject.ParamSpec) => void;
    "notify::enable-media": (pspec: GObject.ParamSpec) => void;
    "notify::enable-media-capabilities": (pspec: GObject.ParamSpec) => void;
    "notify::enable-media-stream": (pspec: GObject.ParamSpec) => void;
    "notify::enable-mediasource": (pspec: GObject.ParamSpec) => void;
    "notify::enable-mock-capture-devices": (pspec: GObject.ParamSpec) => void;
    "notify::enable-offline-web-application-cache": (
        pspec: GObject.ParamSpec,
    ) => void;
    "notify::enable-page-cache": (pspec: GObject.ParamSpec) => void;
    "notify::enable-resizable-text-areas": (pspec: GObject.ParamSpec) => void;
    "notify::enable-site-specific-quirks": (pspec: GObject.ParamSpec) => void;
    "notify::enable-smooth-scrolling": (pspec: GObject.ParamSpec) => void;
    "notify::enable-spatial-navigation": (pspec: GObject.ParamSpec) => void;
    "notify::enable-tabs-to-links": (pspec: GObject.ParamSpec) => void;
    "notify::enable-webaudio": (pspec: GObject.ParamSpec) => void;
    "notify::enable-webgl": (pspec: GObject.ParamSpec) => void;
    "notify::enable-webrtc": (pspec: GObject.ParamSpec) => void;
    "notify::enable-write-console-messages-to-stdout": (
        pspec: GObject.ParamSpec,
    ) => void;
    "notify::enable2d-canvas-acceleration": (pspec: GObject.ParamSpec) => void;
    "notify::fantasy-font-family": (pspec: GObject.ParamSpec) => void;
    "notify::hardware-acceleration-policy": (pspec: GObject.ParamSpec) => void;
    "notify::javascript-can-access-clipboard": (
        pspec: GObject.ParamSpec,
    ) => void;
    "notify::javascript-can-open-windows-automatically": (
        pspec: GObject.ParamSpec,
    ) => void;
    "notify::load-icons-ignoring-image-load-setting": (
        pspec: GObject.ParamSpec,
    ) => void;
    "notify::math-font-family": (pspec: GObject.ParamSpec) => void;
    "notify::media-content-types-requiring-hardware-support": (
        pspec: GObject.ParamSpec,
    ) => void;
    "notify::media-playback-allows-inline": (pspec: GObject.ParamSpec) => void;
    "notify::media-playback-requires-user-gesture": (
        pspec: GObject.ParamSpec,
    ) => void;
    "notify::minimum-font-size": (pspec: GObject.ParamSpec) => void;
    "notify::monospace-font-family": (pspec: GObject.ParamSpec) => void;
    "notify::pictograph-font-family": (pspec: GObject.ParamSpec) => void;
    "notify::print-backgrounds": (pspec: GObject.ParamSpec) => void;
    "notify::sans-serif-font-family": (pspec: GObject.ParamSpec) => void;
    "notify::serif-font-family": (pspec: GObject.ParamSpec) => void;
    "notify::user-agent": (pspec: GObject.ParamSpec) => void;
    "notify::webrtc-udp-ports-range": (pspec: GObject.ParamSpec) => void;
    "notify::zoom-text-only": (pspec: GObject.ParamSpec) => void;
}

Hierarchy (View Summary)

Index

Properties

notify::allow-file-access-from-file-urls notify::allow-modal-dialogs notify::allow-top-navigation-to-data-urls notify::allow-universal-access-from-file-urls notify::auto-load-images notify::cursive-font-family notify::default-charset notify::default-font-family notify::default-font-size notify::default-monospace-font-size notify::disable-web-security notify::draw-compositing-indicators notify::enable-2d-canvas-acceleration notify::enable-back-forward-navigation-gestures notify::enable-caret-browsing notify::enable-developer-extras notify::enable-dns-prefetching notify::enable-encrypted-media notify::enable-fullscreen notify::enable-html5-database notify::enable-html5-local-storage notify::enable-hyperlink-auditing notify::enable-javascript notify::enable-javascript-markup notify::enable-media notify::enable-media-capabilities notify::enable-media-stream notify::enable-mediasource notify::enable-mock-capture-devices notify::enable-offline-web-application-cache notify::enable-page-cache notify::enable-resizable-text-areas notify::enable-site-specific-quirks notify::enable-smooth-scrolling notify::enable-spatial-navigation notify::enable-tabs-to-links notify::enable-webaudio notify::enable-webgl notify::enable-webrtc notify::enable-write-console-messages-to-stdout notify::enable2d-canvas-acceleration notify::fantasy-font-family notify::hardware-acceleration-policy notify::javascript-can-access-clipboard notify::javascript-can-open-windows-automatically notify::load-icons-ignoring-image-load-setting notify::math-font-family notify::media-content-types-requiring-hardware-support notify::media-playback-allows-inline notify::media-playback-requires-user-gesture notify::minimum-font-size notify::monospace-font-family notify::pictograph-font-family notify::print-backgrounds notify::sans-serif-font-family notify::serif-font-family notify::user-agent notify::webrtc-udp-ports-range notify::zoom-text-only

Properties - Inherited from GObject

Properties

"notify::allow-file-access-from-file-urls": (pspec: GObject.ParamSpec) => void
"notify::allow-modal-dialogs": (pspec: GObject.ParamSpec) => void
"notify::allow-top-navigation-to-data-urls": (pspec: GObject.ParamSpec) => void
"notify::allow-universal-access-from-file-urls": (
    pspec: GObject.ParamSpec,
) => void
"notify::auto-load-images": (pspec: GObject.ParamSpec) => void
"notify::cursive-font-family": (pspec: GObject.ParamSpec) => void
"notify::default-charset": (pspec: GObject.ParamSpec) => void
"notify::default-font-family": (pspec: GObject.ParamSpec) => void
"notify::default-font-size": (pspec: GObject.ParamSpec) => void
"notify::default-monospace-font-size": (pspec: GObject.ParamSpec) => void
"notify::disable-web-security": (pspec: GObject.ParamSpec) => void
"notify::draw-compositing-indicators": (pspec: GObject.ParamSpec) => void
"notify::enable-2d-canvas-acceleration": (pspec: GObject.ParamSpec) => void
"notify::enable-back-forward-navigation-gestures": (
    pspec: GObject.ParamSpec,
) => void
"notify::enable-caret-browsing": (pspec: GObject.ParamSpec) => void
"notify::enable-developer-extras": (pspec: GObject.ParamSpec) => void
"notify::enable-dns-prefetching": (pspec: GObject.ParamSpec) => void
"notify::enable-encrypted-media": (pspec: GObject.ParamSpec) => void
"notify::enable-fullscreen": (pspec: GObject.ParamSpec) => void
"notify::enable-html5-database": (pspec: GObject.ParamSpec) => void
"notify::enable-html5-local-storage": (pspec: GObject.ParamSpec) => void
"notify::enable-hyperlink-auditing": (pspec: GObject.ParamSpec) => void
"notify::enable-javascript": (pspec: GObject.ParamSpec) => void
"notify::enable-javascript-markup": (pspec: GObject.ParamSpec) => void
"notify::enable-media": (pspec: GObject.ParamSpec) => void
"notify::enable-media-capabilities": (pspec: GObject.ParamSpec) => void
"notify::enable-media-stream": (pspec: GObject.ParamSpec) => void
"notify::enable-mediasource": (pspec: GObject.ParamSpec) => void
"notify::enable-mock-capture-devices": (pspec: GObject.ParamSpec) => void
"notify::enable-offline-web-application-cache": (
    pspec: GObject.ParamSpec,
) => void
"notify::enable-page-cache": (pspec: GObject.ParamSpec) => void
"notify::enable-resizable-text-areas": (pspec: GObject.ParamSpec) => void
"notify::enable-site-specific-quirks": (pspec: GObject.ParamSpec) => void
"notify::enable-smooth-scrolling": (pspec: GObject.ParamSpec) => void
"notify::enable-spatial-navigation": (pspec: GObject.ParamSpec) => void
"notify::enable-tabs-to-links": (pspec: GObject.ParamSpec) => void
"notify::enable-webaudio": (pspec: GObject.ParamSpec) => void
"notify::enable-webgl": (pspec: GObject.ParamSpec) => void
"notify::enable-webrtc": (pspec: GObject.ParamSpec) => void
"notify::enable-write-console-messages-to-stdout": (
    pspec: GObject.ParamSpec,
) => void
"notify::enable2d-canvas-acceleration": (pspec: GObject.ParamSpec) => void
"notify::fantasy-font-family": (pspec: GObject.ParamSpec) => void
"notify::hardware-acceleration-policy": (pspec: GObject.ParamSpec) => void
"notify::javascript-can-access-clipboard": (pspec: GObject.ParamSpec) => void
"notify::javascript-can-open-windows-automatically": (
    pspec: GObject.ParamSpec,
) => void
"notify::load-icons-ignoring-image-load-setting": (
    pspec: GObject.ParamSpec,
) => void
"notify::math-font-family": (pspec: GObject.ParamSpec) => void
"notify::media-content-types-requiring-hardware-support": (
    pspec: GObject.ParamSpec,
) => void
"notify::media-playback-allows-inline": (pspec: GObject.ParamSpec) => void
"notify::media-playback-requires-user-gesture": (
    pspec: GObject.ParamSpec,
) => void
"notify::minimum-font-size": (pspec: GObject.ParamSpec) => void
"notify::monospace-font-family": (pspec: GObject.ParamSpec) => void
"notify::pictograph-font-family": (pspec: GObject.ParamSpec) => void
"notify::print-backgrounds": (pspec: GObject.ParamSpec) => void
"notify::sans-serif-font-family": (pspec: GObject.ParamSpec) => void
"notify::serif-font-family": (pspec: GObject.ParamSpec) => void
"notify::user-agent": (pspec: GObject.ParamSpec) => void
"notify::webrtc-udp-ports-range": (pspec: GObject.ParamSpec) => void
"notify::zoom-text-only": (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.