diff options
author | Matthias Clasen <mclasen@redhat.com> | 2012-08-16 14:27:51 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2012-08-20 18:54:21 -0400 |
commit | eaaee081b1a8f2a3233608af2789eb6817151d38 (patch) | |
tree | a8d7634bad91a403fc1bf888f23bd5e78ef28eea /gtk/gtkentry.h | |
parent | 3cb4aa44b3b31c87d205b8aead57c7875923b179 (diff) | |
download | gtk+-eaaee081b1a8f2a3233608af2789eb6817151d38.tar.gz |
GtkEntry: Add input purpose and hints
Add input-purpose and input-hints properties to GtkEntry,
and pass these on to GtkIMContext.
https://bugzilla.gnome.org/show_bug.cgi?id=651244
Diffstat (limited to 'gtk/gtkentry.h')
-rw-r--r-- | gtk/gtkentry.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/gtk/gtkentry.h b/gtk/gtkentry.h index 1d44ae9aa0..86efd7e098 100644 --- a/gtk/gtkentry.h +++ b/gtk/gtkentry.h @@ -277,6 +277,18 @@ gboolean gtk_entry_im_context_filter_keypress (GtkEntry * GdkEventKey *event); void gtk_entry_reset_im_context (GtkEntry *entry); +GDK_AVAILABLE_IN_3_6 +void gtk_entry_set_input_purpose (GtkEntry *entry, + GtkInputPurpose purpose); +GDK_AVAILABLE_IN_3_6 +GtkInputPurpose gtk_entry_get_input_purpose (GtkEntry *entry); + +GDK_AVAILABLE_IN_3_6 +void gtk_entry_set_input_hints (GtkEntry *entry, + GtkInputHints hints); +GDK_AVAILABLE_IN_3_6 +GtkInputHints gtk_entry_get_input_hints (GtkEntry *entry); + G_END_DECLS |