|  |  |  | LightDM Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
#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);
Object containing information about a session type. LightDMSession objects are not created by the user, but provided by the LightDMGreeter object.
GList *             lightdm_get_sessions                (void);
Get the available sessions.
| Returns : | A list of LightDMSession. [element-type LightDMSession][transfer none] | 
const gchar *       lightdm_session_get_key             (LightDMSession *session);
Get the key for a session
| 
 | A LightDMSession | 
| Returns : | The session key | 
const gchar *       lightdm_session_get_name            (LightDMSession *session);
Get the name for a session
| 
 | A LightDMSession | 
| Returns : | The session name | 
const gchar *       lightdm_session_get_comment         (LightDMSession *session);
Get the comment for a session
| 
 | A LightDMSession | 
| Returns : | The session comment |