summaryrefslogtreecommitdiff
path: root/gtk/gtktextview.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2012-08-16 14:29:38 -0400
committerMatthias Clasen <mclasen@redhat.com>2012-08-20 18:54:22 -0400
commit7d1c1a8d20f5b7f8dbda3004bd3cd01ff2600684 (patch)
treed026ebd4f63bf118e4d9b467b260d6113e437aa8 /gtk/gtktextview.h
parenteaaee081b1a8f2a3233608af2789eb6817151d38 (diff)
downloadgtk+-7d1c1a8d20f5b7f8dbda3004bd3cd01ff2600684.tar.gz
GtkTextView: Add input purpose and hints
Add input-purpose and input-hints properties and pass these through to the GtkIMContext. https://bugzilla.gnome.org/show_bug.cgi?id=651244
Diffstat (limited to 'gtk/gtktextview.h')
-rw-r--r--gtk/gtktextview.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/gtk/gtktextview.h b/gtk/gtktextview.h
index 21667bbe1f..03a17edd1d 100644
--- a/gtk/gtktextview.h
+++ b/gtk/gtktextview.h
@@ -280,6 +280,19 @@ PangoTabArray* gtk_text_view_get_tabs (GtkTextView *text_vi
/* note that the return value of this changes with the theme */
GtkTextAttributes* gtk_text_view_get_default_attributes (GtkTextView *text_view);
+GDK_AVAILABLE_IN_3_6
+void gtk_text_view_set_input_purpose (GtkTextView *text_view,
+ GtkInputPurpose purpose);
+GDK_AVAILABLE_IN_3_6
+GtkInputPurpose gtk_text_view_get_input_purpose (GtkTextView *text_view);
+
+GDK_AVAILABLE_IN_3_6
+void gtk_text_view_set_input_hints (GtkTextView *text_view,
+ GtkInputHints hints);
+GDK_AVAILABLE_IN_3_6
+GtkInputHints gtk_text_view_get_input_hints (GtkTextView *text_view);
+
+
G_END_DECLS
#endif /* __GTK_TEXT_VIEW_H__ */