CScreensaver.LogindSession

g CScreensaver.LogindSession CScreensaver.LogindSession GObject.GInterface GObject.GInterface GObject.GInterface->CScreensaver.LogindSession

Implementations:

CScreensaver.LogindSessionProxy, CScreensaver.LogindSessionSkeleton

Methods

class

interface_info ()

class

override_properties (klass, property_id_begin)

emit_lock ()

emit_unlock ()

Virtual Methods

do_lock ()

do_unlock ()

Properties

Name

Type

Flags

Short Description

active

bool

r/w

Active

Signals

Name

Short Description

lock

On the client-side, this signal is emitted whenever the D-Bus signal ‘“Lock” [gdbus-signal-org-freedesktop-login1-Session.Lock]’ is received.

unlock

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:

GObject.GInterface

Structure:

CScreensaver.LogindSessionIface

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:

Gio.DBusInterfaceInfo

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:
Returns:

The last property id.

Return type:

int

Overrides all GObject.Object properties in the CScreensaver.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:

RUN_LAST

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:

RUN_LAST

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
Name:

active

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

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.