User Sessions

User Sessions — Choose the session to use

Synopsis

#include <lightdm.h>

GList *             lightdm_get_sessions                (void);
const gchar *       lightdm_session_get_key             (LightDMSession *session);
const gchar *       lightdm_session_get_name            (LightDMSession *session);
const gchar *       lightdm_session_get_comment         (LightDMSession *session);

Description

Object containing information about a session type. LightDMSession objects are not created by the user, but provided by the LightDMGreeter object.

Details

lightdm_get_sessions ()

GList *             lightdm_get_sessions                (void);

Get the available sessions.

Returns :

A list of LightDMSession. [element-type LightDMSession][transfer none]

lightdm_session_get_key ()

const gchar *       lightdm_session_get_key             (LightDMSession *session);

Get the key for a session

session :

A LightDMSession

Returns :

The session key

lightdm_session_get_name ()

const gchar *       lightdm_session_get_name            (LightDMSession *session);

Get the name for a session

session :

A LightDMSession

Returns :

The session name

lightdm_session_get_comment ()

const gchar *       lightdm_session_get_comment         (LightDMSession *session);

Get the comment for a session

session :

A LightDMSession

Returns :

The session comment