LightDM.Session

g GObject.Object GObject.Object LightDM.Session LightDM.Session GObject.Object->LightDM.Session

Subclasses:None

Virtual Methods

Inherited:GObject.Object (7)

Properties

Name Type Flags Short Description
comment str r Session comment
key str r Session key
name str r Session name

Signals

Inherited:GObject.Object (1)

Fields

Inherited:GObject.Object (1)
Name Type Access Description
parent_instance GObject.Object r  

Class Details

class LightDM.Session(**kwargs)
Bases:GObject.Object
Abstract:No
Structure:LightDM.SessionClass

LightDM.Session is an opaque data structure and can only be accessed using the provided functions.

get_comment()
Returns:The session comment
Return type:str

Get the comment for a session

get_key()
Returns:The session key
Return type:str

Get the key for a session

get_name()
Returns:The session name
Return type:str

Get the name for a session

get_session_type()
Returns:The session type, e.g. x or mir
Return type:str

Get the type a session

Property Details

LightDM.Session.props.comment
Name:comment
Type:str
Default Value:None
Flags:READABLE

Session comment

LightDM.Session.props.key
Name:key
Type:str
Default Value:None
Flags:READABLE

Session key

LightDM.Session.props.name
Name:name
Type:str
Default Value:None
Flags:READABLE

Session name