CScreensaver.SessionPresence¶
- Implementations:
CScreensaver.SessionPresenceProxy
,CScreensaver.SessionPresenceSkeleton
Methods¶
class |
|
class |
|
|
Virtual Methods¶
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
status |
Signals¶
Name |
Short Description |
---|---|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“StatusChanged” [gdbus-signal-org-gnome-SessionManager-Presence.StatusChanged]’ is received. |
Fields¶
None
Class Details¶
- class CScreensaver.SessionPresence¶
- Bases:
- Structure:
Abstract interface type for the D-Bus interface ‘org.gnome.SessionManager.Presence [gdbus-interface-org-gnome-SessionManager-Presence.top_of_page]’.
- classmethod interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.gnome.SessionManager.Presence [gdbus-interface-org-gnome-SessionManager-Presence.top_of_page]’ D-Bus interface.
- classmethod override_properties(klass, property_id_begin)¶
- Parameters:
klass (
GObject.ObjectClass
) – The class structure for aGObject.Object
derived class.property_id_begin (
int
) – The property id to assign to the first overridden property.
- Returns:
The last property id.
- Return type:
Overrides all
GObject.Object
properties in theCScreensaver.SessionPresence
interface for a concrete class. The properties are overridden in the order they are defined.
Signal Details¶
- CScreensaver.SessionPresence.signals.status_changed(session_presence, arg_status)¶
- Signal Name:
status-changed
- Flags:
- Parameters:
session_presence (
CScreensaver.SessionPresence
) – The object which received the signalarg_status (
int
) – Argument.
On the client-side, this signal is emitted whenever the D-Bus signal ‘“StatusChanged” [gdbus-signal-org-gnome-SessionManager-Presence.StatusChanged]’ is received.
On the service-side, this signal can be used with e.g. g_signal_emit_by_name() to make the object emit the D-Bus signal.
Property Details¶
- CScreensaver.SessionPresence.props.status¶
-
Represents the D-Bus property ‘“status” [gdbus-property-org-gnome-SessionManager-Presence.status]’.
Since the D-Bus property for this
GObject.Object
property is both readable and writable, it is meaningful to both read from it and write to it on both the service- and client-side.