summaryrefslogtreecommitdiff
path: root/gtk/gtkimcontext.h
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/gtkimcontext.h
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/gtkimcontext.h')
-rw-r--r--gtk/gtkimcontext.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkimcontext.h b/gtk/gtkimcontext.h
index 7e92f76ceb..a0f26471a5 100644
--- a/gtk/gtkimcontext.h
+++ b/gtk/gtkimcontext.h
@@ -49,11 +49,13 @@ struct _GtkIMContext
struct _GtkIMContextClass
{
+ /*< private >*/
/* Yes, this should be GObjectClass, be we can't fix it without breaking
* binary compatibility - see bug #90935
*/
GtkObjectClass parent_class;
+ /*< public >*/
/* Signals */
void (*preedit_start) (GtkIMContext *context);
void (*preedit_end) (GtkIMContext *context);
@@ -87,7 +89,7 @@ struct _GtkIMContextClass
gboolean (*get_surrounding) (GtkIMContext *context,
gchar **text,
gint *cursor_index);
-
+ /*< private >*/
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);