Interface

Wnck-3.0WnckScreenSignalSignatures

interface SignalSignatures {
    "active-window-changed": (arg0: Wnck.Window) => void;
    "active-workspace-changed": (arg0: Wnck.Workspace) => void;
    "application-closed": (arg0: Wnck.Application) => void;
    "application-opened": (arg0: Wnck.Application) => void;
    "background-changed": () => void;
    "class-group-closed": (arg0: Wnck.ClassGroup) => void;
    "class-group-opened": (arg0: Wnck.ClassGroup) => void;
    notify: (arg0: GObject.ParamSpec) => void;
    "showing-desktop-changed": () => void;
    "viewports-changed": () => void;
    "window-closed": (arg0: Wnck.Window) => void;
    "window-manager-changed": () => void;
    "window-opened": (arg0: Wnck.Window) => void;
    "window-stacking-changed": () => void;
    "workspace-created": (arg0: Wnck.Workspace) => void;
    "workspace-destroyed": (arg0: Wnck.Workspace) => void;
}

Hierarchy (View Summary)

Index

Properties

"active-window-changed": (arg0: Wnck.Window) => void

Emitted when the active window on screen has changed.

"active-workspace-changed": (arg0: Wnck.Workspace) => void

Emitted when the active workspace on screen has changed.

"application-closed": (arg0: Wnck.Application) => void

Emitted when a Wnck.Application is closed on screen.

"application-opened": (arg0: Wnck.Application) => void

Emitted when a new Wnck.Application is opened on screen.

"background-changed": () => void

Emitted when the background on the root window of screen has changed.

"class-group-closed": (arg0: Wnck.ClassGroup) => void

Emitted when a Wnck.ClassGroup is closed on screen.

2.20

"class-group-opened": (arg0: Wnck.ClassGroup) => void

Emitted when a new Wnck.ClassGroup is opened on screen.

2.20

"showing-desktop-changed": () => void

Emitted when "showing the desktop" mode of screen is toggled.

2.20

"viewports-changed": () => void

Emitted when a viewport position has changed in a Wnck.Workspace of screen or when a Wnck.Workspace of screen gets or loses its viewport.

2.20

"window-closed": (arg0: Wnck.Window) => void

Emitted when a Wnck.Window is closed on screen.

"window-manager-changed": () => void

Emitted when the window manager on screen has changed.

2.20

"window-opened": (arg0: Wnck.Window) => void

Emitted when a new Wnck.Window is opened on screen.

"window-stacking-changed": () => void

Emitted when the stacking order of Wnck.Window on screen has changed.

"workspace-created": (arg0: Wnck.Workspace) => void

Emitted when a Wnck.Workspace is created on screen.

"workspace-destroyed": (arg0: Wnck.Workspace) => void

Emitted when a Wnck.Workspace is destroyed on screen.

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.