|  |  |  | LightDM Reference Manual |  | 
|---|---|---|---|---|
| Top | Description | ||||
#include <lightdm.h> GList * lightdm_get_layouts (void); LightDMLayout * lightdm_get_layout (void); void lightdm_set_layout (LightDMLayout *layout); const gchar * lightdm_layout_get_name (LightDMLayout *layout); const gchar * lightdm_layout_get_short_description (LightDMLayout *layout); const gchar * lightdm_layout_get_description (LightDMLayout *layout);
GList *             lightdm_get_layouts                 (void);
Get a list of keyboard layouts to present to the user.
| Returns : | A list of LightDMLayout that should be presented to the user. [element-type LightDMLayout][transfer none] | 
LightDMLayout *     lightdm_get_layout                  (void);
Get the current keyboard layout.
| Returns : | The currently active layout for this user. [transfer none] | 
void                lightdm_set_layout                  (LightDMLayout *layout);
Set the layout for this session.
| 
 | The layout to use | 
const gchar *       lightdm_layout_get_name             (LightDMLayout *layout);
Get the name of a layout.
| 
 | A LightDMLayout | 
| Returns : | The name of the layout | 
const gchar *       lightdm_layout_get_short_description
                                                        (LightDMLayout *layout);
Get the short description of a layout.
| 
 | A LightDMLayout | 
| Returns : | A short description of the layout | 
const gchar *       lightdm_layout_get_description      (LightDMLayout *layout);
Get the long description of a layout.
| 
 | A LightDMLayout | 
| Returns : | A long description of the layout |