| Libxklavier Reference Manual | ||||
|---|---|---|---|---|
#define XKL_MAX_CI_NAME_LENGTH #define XKL_MAX_CI_SHORT_DESC_LENGTH #define XKL_MAX_CI_DESC_LENGTH XklConfigItem; XklConfigItem* xkl_config_item_new (void); void (*ConfigItemProcessFunc) (XklConfigRegistry *config, const XklConfigItem *item, gpointer data);
typedef struct {
/**
* The superclass object
*/
GObject parent;
/**
* The configuration item name. Corresponds to XML element "name".
*/
gchar name[XKL_MAX_CI_NAME_LENGTH];
/**
* The configuration item short description. Corresponds to XML element "shortDescription".
*/
gchar short_description[XKL_MAX_CI_DESC_LENGTH];
/**
* The configuration item description. Corresponds to XML element "description".
*/
gchar description[XKL_MAX_CI_DESC_LENGTH];
} XklConfigItem;
XklConfigItem* xkl_config_item_new (void);
Create new XklConfigItem
| Returns : | new instance |
void (*ConfigItemProcessFunc) (XklConfigRegistry *config, const XklConfigItem *item, gpointer data);
Callback type used for enumerating keyboard models, layouts, variants, options
config : |
the config registry |
item : |
the item from registry |
data : |
anything which can be stored into the pointer |