20 #ifndef __GTK_IM_CONTEXT_H__
21 #define __GTK_IM_CONTEXT_H__
24 #if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
25 #error "Only <gtk/gtk.h> can be included directly."
34 #define GTK_TYPE_IM_CONTEXT (gtk_im_context_get_type ())
35 #define GTK_IM_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT, GtkIMContext))
36 #define GTK_IM_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_CONTEXT, GtkIMContextClass))
37 #define GTK_IS_IM_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_CONTEXT))
38 #define GTK_IS_IM_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_CONTEXT))
39 #define GTK_IM_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_CONTEXT, GtkIMContextClass))
74 PangoAttrList **attrs,
84 gboolean use_preedit);
108 PangoAttrList **attrs,
118 gboolean use_preedit);
void gtk_im_context_set_client_window(GtkIMContext *context, GdkWindow *window)
void gtk_im_context_focus_in(GtkIMContext *context)
void gtk_im_context_set_cursor_location(GtkIMContext *context, const GdkRectangle *area)
void gtk_im_context_reset(GtkIMContext *context)
gboolean gtk_im_context_delete_surrounding(GtkIMContext *context, gint offset, gint n_chars)
void gtk_im_context_focus_out(GtkIMContext *context)
void gtk_im_context_get_preedit_string(GtkIMContext *context, gchar **str, PangoAttrList **attrs, gint *cursor_pos)
void gtk_im_context_set_use_preedit(GtkIMContext *context, gboolean use_preedit)
GType gtk_im_context_get_type(void) G_GNUC_CONST
void gtk_im_context_set_surrounding(GtkIMContext *context, const gchar *text, gint len, gint cursor_index)
gboolean gtk_im_context_filter_keypress(GtkIMContext *context, GdkEventKey *event)
gboolean gtk_im_context_get_surrounding(GtkIMContext *context, gchar **text, gint *cursor_index)
void(* set_cursor_location)(GtkIMContext *context, GdkRectangle *area)
void(* preedit_end)(GtkIMContext *context)
void(* focus_out)(GtkIMContext *context)
void(* set_client_window)(GtkIMContext *context, GdkWindow *window)
gboolean(* get_surrounding)(GtkIMContext *context, gchar **text, gint *cursor_index)
void(* focus_in)(GtkIMContext *context)
void(* _gtk_reserved6)(void)
void(* commit)(GtkIMContext *context, const gchar *str)
void(* _gtk_reserved3)(void)
void(* _gtk_reserved2)(void)
gboolean(* delete_surrounding)(GtkIMContext *context, gint offset, gint n_chars)
GtkObjectClass parent_class
void(* reset)(GtkIMContext *context)
void(* set_use_preedit)(GtkIMContext *context, gboolean use_preedit)
gboolean(* retrieve_surrounding)(GtkIMContext *context)
void(* preedit_start)(GtkIMContext *context)
void(* get_preedit_string)(GtkIMContext *context, gchar **str, PangoAttrList **attrs, gint *cursor_pos)
void(* _gtk_reserved5)(void)
gboolean(* filter_keypress)(GtkIMContext *context, GdkEventKey *event)
void(* _gtk_reserved4)(void)
void(* preedit_changed)(GtkIMContext *context)
void(* set_surrounding)(GtkIMContext *context, const gchar *text, gint len, gint cursor_index)
void(* _gtk_reserved1)(void)