summaryrefslogtreecommitdiff
path: root/gtk/gtkimmodule.c
diff options
context:
space:
mode:
authorDaniel Elstner <daniel@src.gnome.org>2008-12-11 11:38:59 +0000
committerDaniel Elstner <daniel@src.gnome.org>2008-12-11 11:38:59 +0000
commit0bf3652e1df37321d4c2318f5bbf67438010f987 (patch)
tree95a92eb4db82eed5b0098aa7914e8ec13bcc0e70 /gtk/gtkimmodule.c
parent8a11a01ae9c5ccb57030cc50c2bbd1d47eff86fb (diff)
downloadgtk+-0bf3652e1df37321d4c2318f5bbf67438010f987.tar.gz
Bug 563994 – Input method module interface not documented
* gtk/gtkimcontext.h: Add public/private markers. * gtk/gtkimcontext.c: Add section documentation which explains how to add a new input method module to GTK+. Document the signals and virtual functions of GtkIMContextClass. * gtk/gtkimmodule.c: Document struct GtkIMContextInfo. * docs/reference/gtk/gtk-sections.txt: Add GtkIMContextClass and GtkIMContextInfo to section GtkIMContext. * docs/reference/gtk/Makefile.am (IGNORE_HFILES): Remove gtkimmodule.h from the list in order to pick up GtkIMContextInfo. * docs/reference/gtk/tmpl/gtkimcontext.sgml: Remove file from repository since all the hand-edited content has been migrated to source file comments. svn path=/trunk/; revision=21870
Diffstat (limited to 'gtk/gtkimmodule.c')
-rw-r--r--gtk/gtkimmodule.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/gtk/gtkimmodule.c b/gtk/gtkimmodule.c
index 8a2fdeed56..125f685e63 100644
--- a/gtk/gtkimmodule.c
+++ b/gtk/gtkimmodule.c
@@ -51,6 +51,20 @@
#define SIMPLE_ID "gtk-im-context-simple"
+/**
+ * GtkIMContextInfo:
+ * @context_id: The unique identification string of the input method.
+ * @context_name: The human-readable name of the input method.
+ * @domain: Translation domain to be used with
+ * <function>dgettext&lpar;&rpar;</function>.
+ * @domain_dirname: Name of locale directory for use with
+ * <function>bindtextdomain&lpar;&rpar;</function>.
+ * @default_locales: A colon-separated list of locales where this input method
+ * should be the default. The asterisk "*" sets the default for all locales.
+ *
+ * Bookkeeping information about a loadable input method.
+ */
+
typedef struct _GtkIMModule GtkIMModule;
typedef struct _GtkIMModuleClass GtkIMModuleClass;