summaryrefslogtreecommitdiff
path: root/gtk/gtkentry.h
diff options
context:
space:
mode:
authorJavier Jardón <jjardon@gnome.org>2010-05-05 01:16:55 +0200
committerJavier Jardón <jjardon@gnome.org>2010-05-05 03:14:28 +0200
commit7692a427a6d27f438e18dc3555a91eef2f4205ff (patch)
tree14bf21d5e24876f352c73a1bc04f110e3ebf45ce /gtk/gtkentry.h
parent8a4528eb2a04d9249c01375a8b31c12cd9be16f8 (diff)
downloadgtk+-7692a427a6d27f438e18dc3555a91eef2f4205ff.tar.gz
Added api to reset the im context in GtkTextView and GtkEntry
Also, added api to allow an input method to internally handle key press and release events in the GtkTextView and GtkEntry cases. This is simply a wrapper to the gtk_im_context_filter_keypress() function, but It's added to not access the ->im_context directly. Based on a Christian Dywan patch Fixes https://bugzilla.gnome.org/show_bug.cgi?id=163251
Diffstat (limited to 'gtk/gtkentry.h')
-rw-r--r--gtk/gtkentry.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h
index 0c82c63224..e2044959a6 100644
--- a/gtk/gtkentry.h
+++ b/gtk/gtkentry.h
@@ -306,6 +306,10 @@ gint gtk_entry_get_current_icon_drag_source (GtkEntry *
GdkWindow * gtk_entry_get_icon_window (GtkEntry *entry,
GtkEntryIconPosition icon_pos);
+gboolean gtk_entry_im_context_filter_keypress (GtkEntry *entry,
+ GdkEventKey *key);
+void gtk_entry_reset_im_context (GtkEntry *entry);
+
/* Deprecated compatibility functions
*/