CScreensaver.LogindSession¶
- Implementations:
CScreensaver.LogindSessionProxy
,CScreensaver.LogindSessionSkeleton
Methods¶
class |
|
class |
|
|
|
|
Virtual Methods¶
|
|
|
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w |
Active |
Signals¶
Name |
Short Description |
---|---|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“Lock” [gdbus-signal-org-freedesktop-login1-Session.Lock]’ is received. |
|
On the client-side, this signal is emitted whenever the D-Bus signal ‘“Unlock” [gdbus-signal-org-freedesktop-login1-Session.Unlock]’ is received. |
Fields¶
None
Class Details¶
- class CScreensaver.LogindSession¶
- Bases:
- Structure:
Abstract interface type for the D-Bus interface ‘org.freedesktop.login1.Session [gdbus-interface-org-freedesktop-login1-Session.top_of_page]’.
- classmethod interface_info()¶
- Returns:
A
Gio.DBusInterfaceInfo
. Do not free.- Return type:
Gets a machine-readable description of the ‘org.freedesktop.login1.Session [gdbus-interface-org-freedesktop-login1-Session.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.LogindSession
interface for a concrete class. The properties are overridden in the order they are defined.
- emit_lock()¶
Emits the ‘“Lock” [gdbus-signal-org-freedesktop-login1-Session.Lock]’ D-Bus signal.
- emit_unlock()¶
Emits the ‘“Unlock” [gdbus-signal-org-freedesktop-login1-Session.Unlock]’ D-Bus signal.
- do_lock() virtual¶
- do_unlock() virtual¶
Signal Details¶
- CScreensaver.LogindSession.signals.lock(logind_session)¶
- Signal Name:
lock
- Flags:
- Parameters:
logind_session (
CScreensaver.LogindSession
) – The object which received the signal
On the client-side, this signal is emitted whenever the D-Bus signal ‘“Lock” [gdbus-signal-org-freedesktop-login1-Session.Lock]’ 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.
- CScreensaver.LogindSession.signals.unlock(logind_session)¶
- Signal Name:
unlock
- Flags:
- Parameters:
logind_session (
CScreensaver.LogindSession
) – The object which received the signal
On the client-side, this signal is emitted whenever the D-Bus signal ‘“Unlock” [gdbus-signal-org-freedesktop-login1-Session.Unlock]’ 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.LogindSession.props.active¶
-
Represents the D-Bus property ‘“Active” [gdbus-property-org-freedesktop-login1-Session.Active]’.
Since the D-Bus property for this
GObject.Object
property is readable but not writable, it is meaningful to read from it on both the client- and service-side. It is only meaningful, however, to write to it on the service-side.