diff options
-rw-r--r-- | docs/reference/gtk/tmpl/.gitignore | 1 | ||||
-rw-r--r-- | docs/reference/gtk/tmpl/gtkimcontextsimple.sgml | 55 | ||||
-rw-r--r-- | gtk/gtkimcontextsimple.c | 7 | ||||
-rw-r--r-- | gtk/gtkimcontextsimple.h | 8 |
4 files changed, 14 insertions, 57 deletions
diff --git a/docs/reference/gtk/tmpl/.gitignore b/docs/reference/gtk/tmpl/.gitignore index 3646672288..d19042e8db 100644 --- a/docs/reference/gtk/tmpl/.gitignore +++ b/docs/reference/gtk/tmpl/.gitignore @@ -7,6 +7,7 @@ gtkcalendar.sgml gtkcelleditable.sgml gtkhbox.sgml gtkiconview.sgml +gtkimcontextsimple.sgml gtkimmulticontext.sgml gtkmessagedialog.sgml gtkobject.sgml diff --git a/docs/reference/gtk/tmpl/gtkimcontextsimple.sgml b/docs/reference/gtk/tmpl/gtkimcontextsimple.sgml deleted file mode 100644 index 59d9315c9b..0000000000 --- a/docs/reference/gtk/tmpl/gtkimcontextsimple.sgml +++ /dev/null @@ -1,55 +0,0 @@ -<!-- ##### SECTION Title ##### --> -GtkIMContextSimple - -<!-- ##### SECTION Short_Description ##### --> -An input method context supporting table-based input methods - -<!-- ##### SECTION Long_Description ##### --> -<para> - -</para> - -<!-- ##### SECTION See_Also ##### --> -<para> - -</para> - -<!-- ##### SECTION Stability_Level ##### --> - - -<!-- ##### SECTION Image ##### --> - - -<!-- ##### STRUCT GtkIMContextSimple ##### --> -<para> - -</para> - - -<!-- ##### FUNCTION gtk_im_context_simple_new ##### --> -<para> - -</para> - -@void: -@Returns: - - -<!-- ##### FUNCTION gtk_im_context_simple_add_table ##### --> -<para> - -</para> - -@context_simple: -@data: -@max_seq_len: -@n_seqs: - - -<!-- ##### MACRO GTK_MAX_COMPOSE_LEN ##### --> -<para> -The maximum length of sequences in compose tables. -</para> - - - diff --git a/gtk/gtkimcontextsimple.c b/gtk/gtkimcontextsimple.c index 9b73f8445e..27e8980b85 100644 --- a/gtk/gtkimcontextsimple.c +++ b/gtk/gtkimcontextsimple.c @@ -30,6 +30,13 @@ #include "gtkintl.h" +/** + * SECTION:gtkimcontextsimple + * @Short_description: An input method context supporting table-based input methods + * @Title: GtkIMContextSimple + */ + + typedef struct _GtkComposeTable GtkComposeTable; typedef struct _GtkComposeTableCompact GtkComposeTableCompact; diff --git a/gtk/gtkimcontextsimple.h b/gtk/gtkimcontextsimple.h index a215110c51..828983c8da 100644 --- a/gtk/gtkimcontextsimple.h +++ b/gtk/gtkimcontextsimple.h @@ -29,6 +29,12 @@ G_BEGIN_DECLS +/** + * GTK_MAX_COMPOSE_LEN: + * + * The maximum length of sequences in compose tables. + */ +#define GTK_MAX_COMPOSE_LEN 7 #define GTK_TYPE_IM_CONTEXT_SIMPLE (gtk_im_context_simple_get_type ()) #define GTK_IM_CONTEXT_SIMPLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT_SIMPLE, GtkIMContextSimple)) @@ -42,8 +48,6 @@ typedef struct _GtkIMContextSimple GtkIMContextSimple; typedef struct _GtkIMContextSimplePrivate GtkIMContextSimplePrivate; typedef struct _GtkIMContextSimpleClass GtkIMContextSimpleClass; -#define GTK_MAX_COMPOSE_LEN 7 - struct _GtkIMContextSimple { GtkIMContext object; |