diff options
Diffstat (limited to 'libxklavier/xkl_config_item.h')
-rw-r--r-- | libxklavier/xkl_config_item.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libxklavier/xkl_config_item.h b/libxklavier/xkl_config_item.h index 0aa90ed..46eff0e 100644 --- a/libxklavier/xkl_config_item.h +++ b/libxklavier/xkl_config_item.h @@ -132,6 +132,15 @@ extern "C" { extern XklConfigItem *xkl_config_item_new(void); /** + * xkl_config_item_get_name: + * @item: the XklConfigItem object + * + * Returns: The @name field of a XklConfigItem. This is mostly useful for + * language bindings, in C you can manipulate the member directly. + */ +extern const gchar * xkl_config_item_get_name(XklConfigItem * item); + +/** * xkl_config_item_set_name: * @item: the XklConfigItem object to be changed * @name: (transfer none) (allow-none): Name (max. 32 characters); can be NULL. @@ -143,6 +152,15 @@ extern "C" { const gchar * name); /** + * xkl_config_item_get_short_description: + * @item: the XklConfigItem object + * + * Returns: The @short_description field of a XklConfigItem. This is mostly useful for + * language bindings, in C you can manipulate the member directly. + */ +extern const gchar * xkl_config_item_get_short_description(XklConfigItem * item); + +/** * xkl_config_item_set_short_description: * @item: the XklConfigItem object to be changed * @short_description: (transfer none) (allow-none): Short Description (max. 10 @@ -154,6 +172,15 @@ extern "C" { extern void xkl_config_item_set_short_description(XklConfigItem * item, const gchar * short_description); /** + * xkl_config_item_get_description: + * @item: the XklConfigItem object + * + * Returns: The @description field of a XklConfigItem. This is mostly useful for + * language bindings, in C you can manipulate the member directly. + */ +extern const gchar * xkl_config_item_get_description(XklConfigItem * item); + +/** * xkl_config_item_set_description: * @item: the XklConfigItem object to be changed * @description: (transfer none) (allow-none): Description (max. 192 |