GPaste.ScreensaverClient¶
- Subclasses:
None
Methods¶
- Inherited:
Gio.DBusProxy (25), GObject.Object (37), Gio.AsyncInitable (4), Gio.DBusInterface (3), Gio.Initable (2)
- Structs:
class |
|
class |
|
class |
|
Virtual Methods¶
Properties¶
- Inherited:
Signals¶
- Inherited:
Name |
Short Description |
---|---|
The “active-changed” signal is emitted when the screensaver appears or vanishes |
Fields¶
- Inherited:
Class Details¶
- class GPaste.ScreensaverClient(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
- classmethod new(callback, *user_data)¶
- Parameters:
callback (
Gio.AsyncReadyCallback
orNone
) – Callback function to invoke when the proxy is ready.
Create a new instance of
GPaste.ScreensaverClient
- classmethod new_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) –- Raises:
- Return type:
- classmethod new_sync()¶
- Raises:
- Returns:
a newly allocated
GPaste.ScreensaverClient
free it withGObject.Object.unref
- Return type:
Create a new instance of
GPaste.ScreensaverClient
Signal Details¶
- GPaste.ScreensaverClient.signals.active_changed(screensaver_client, active)¶
- Signal Name:
active-changed
- Flags:
- Parameters:
screensaver_client (
GPaste.ScreensaverClient
) – The object which received the signalactive (
bool
) – whether the screensaver is now active or not
The “active-changed” signal is emitted when the screensaver appears or vanishes