summaryrefslogtreecommitdiff
path: root/libxklavier/xkl_config_item.h
diff options
context:
space:
mode:
authorSergey Udaltsov <svu@gnome.org>2006-03-12 20:54:40 +0000
committerSergey Udaltsov <svu@gnome.org>2006-03-12 20:54:40 +0000
commit9454d6f6a507566ca0bd8a057d21e8968102f722 (patch)
treeb363482fa1a514ed3fa8163bbb587840b31377e2 /libxklavier/xkl_config_item.h
parent2c88cc80147b72eba939d6358939ef59d403c34e (diff)
downloadlibxklavier-9454d6f6a507566ca0bd8a057d21e8968102f722.tar.gz
Further cleanup of API. Introducing XklConfigItem properties etc
Diffstat (limited to 'libxklavier/xkl_config_item.h')
-rw-r--r--libxklavier/xkl_config_item.h18
1 files changed, 5 insertions, 13 deletions
diff --git a/libxklavier/xkl_config_item.h b/libxklavier/xkl_config_item.h
index bad205a..bcb7b45 100644
--- a/libxklavier/xkl_config_item.h
+++ b/libxklavier/xkl_config_item.h
@@ -61,6 +61,11 @@ extern "C" {
};
/**
+ * Extra property for the XklConfigItem, defining whether the group allows multiple selection
+ */
+#define XCI_PROP_ALLOW_MULTIPLE_SELECTION "allowMultipleSelection"
+
+/**
* The XklConfigItem class, derived from GObject
*/
struct _XklConfigItemClass {
@@ -97,19 +102,6 @@ extern "C" {
typedef void (*ConfigItemProcessFunc) (const XklConfigItem * item,
gpointer data);
-/**
- * GroupProcessFunc:
- * @item: the item from registry
- * @allow_multiple_selection: a flag whether this group allows multiple selection
- * @data: anything which can be stored into the pointer
- *
- * Callback type used for enumerating keyboard option groups
- */
- typedef void (*GroupProcessFunc) (const XklConfigItem * item,
- gboolean
- allow_multiple_selection,
- gpointer data);
-
#ifdef __cplusplus
}
#endif /* __cplusplus */