GPaste.ScreensaverClient

g GObject.GInterface GObject.GInterface Gio.AsyncInitable Gio.AsyncInitable GObject.GInterface->Gio.AsyncInitable Gio.DBusInterface Gio.DBusInterface GObject.GInterface->Gio.DBusInterface Gio.Initable Gio.Initable GObject.GInterface->Gio.Initable GObject.Object GObject.Object Gio.DBusProxy Gio.DBusProxy GObject.Object->Gio.DBusProxy GPaste.ScreensaverClient GPaste.ScreensaverClient Gio.AsyncInitable->Gio.DBusProxy Gio.DBusInterface->Gio.DBusProxy Gio.DBusProxy->GPaste.ScreensaverClient Gio.Initable->Gio.DBusProxy

Subclasses:

None

Methods

Inherited:

Gio.DBusProxy (25), GObject.Object (37), Gio.AsyncInitable (4), Gio.DBusInterface (3), Gio.Initable (2)

Structs:

GObject.ObjectClass (5)

class

new (callback, *user_data)

class

new_finish (result)

class

new_sync ()

Virtual Methods

Inherited:

Gio.DBusProxy (2), GObject.Object (7), Gio.AsyncInitable (2), Gio.DBusInterface (3), Gio.Initable (1)

Properties

Inherited:

Gio.DBusProxy (9)

Signals

Inherited:

Gio.DBusProxy (2), GObject.Object (1)

Name

Short Description

active-changed

The “active-changed” signal is emitted when the screensaver appears or vanishes

Fields

Inherited:

Gio.DBusProxy (2), GObject.Object (1)

Class Details

class GPaste.ScreensaverClient(**kwargs)
Bases:

Gio.DBusProxy

Abstract:

No

Structure:

GPaste.ScreensaverClientClass

classmethod new(callback, *user_data)
Parameters:

Create a new instance of GPaste.ScreensaverClient

classmethod new_finish(result)
Parameters:

result (Gio.AsyncResult) –

Raises:

GLib.Error

Return type:

GPaste.ScreensaverClient

classmethod new_sync()
Raises:

GLib.Error

Returns:

a newly allocated GPaste.ScreensaverClient free it with GObject.Object.unref

Return type:

GPaste.ScreensaverClient

Create a new instance of GPaste.ScreensaverClient

Signal Details

GPaste.ScreensaverClient.signals.active_changed(screensaver_client, active)
Signal Name:

active-changed

Flags:

RUN_LAST

Parameters:
  • screensaver_client (GPaste.ScreensaverClient) – The object which received the signal

  • active (bool) – whether the screensaver is now active or not

The “active-changed” signal is emitted when the screensaver appears or vanishes