Keyboard Layout

Keyboard Layout

Functions

GList * lightdm_get_layouts ()
LightDMLayout * lightdm_get_layout ()
void lightdm_set_layout ()
const gchar * lightdm_layout_get_name ()
const gchar * lightdm_layout_get_short_description ()
const gchar * lightdm_layout_get_description ()

Includes

#include <lightdm.h>

Description

Functions

lightdm_get_layouts ()

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]


lightdm_get_layout ()

LightDMLayout *
lightdm_get_layout (void);

Get the current keyboard layout.

Returns

The currently active layout for this user.

[transfer none]


lightdm_set_layout ()

void
lightdm_set_layout (LightDMLayout *layout);

Set the layout for this session.

Parameters

layout

The layout to use

 

lightdm_layout_get_name ()

const gchar *
lightdm_layout_get_name (LightDMLayout *layout);

Get the name of a layout.

Parameters

layout

A LightDMLayout

 

Returns

The name of the layout


lightdm_layout_get_short_description ()

const gchar *
lightdm_layout_get_short_description (LightDMLayout *layout);

Get the short description of a layout.

Parameters

layout

A LightDMLayout

 

Returns

A short description of the layout


lightdm_layout_get_description ()

const gchar *
lightdm_layout_get_description (LightDMLayout *layout);

Get the long description of a layout.

Parameters

layout

A LightDMLayout

 

Returns

A long description of the layout

Types and Values