diff options
author | Matthias Clasen <mclasen@redhat.com> | 2016-01-18 14:54:25 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2016-01-18 16:27:43 -0500 |
commit | 1821c2df609b2877d732ad662a399e297ff56a41 (patch) | |
tree | 222ef71429647d61376944628be8dffe3bd30449 /gtk/gtktextview.h | |
parent | f8b8e4eaf8564eb280ee613dbbc89d79411ab19c (diff) | |
download | gtk+-1821c2df609b2877d732ad662a399e297ff56a41.tar.gz |
text view: Expose cursor blink control
Derived classes like GtkSourceView with their own ::key-event
handler need access to this, in order to make their keynav
as nice as the builtin one, wrt to caret visibility.
https://bugzilla.gnome.org/show_bug.cgi?id=760748
Diffstat (limited to 'gtk/gtktextview.h')
-rw-r--r-- | gtk/gtktextview.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtktextview.h b/gtk/gtktextview.h index 203fcfba1f..432e7b786c 100644 --- a/gtk/gtktextview.h +++ b/gtk/gtktextview.h @@ -246,6 +246,9 @@ void gtk_text_view_set_cursor_visible (GtkTextView *text_view, GDK_AVAILABLE_IN_ALL gboolean gtk_text_view_get_cursor_visible (GtkTextView *text_view); +GDK_AVAILABLE_IN_3_20 +void gtk_text_view_reset_cursor_blink (GtkTextView *text_view); + GDK_AVAILABLE_IN_ALL void gtk_text_view_get_cursor_locations (GtkTextView *text_view, const GtkTextIter *iter, |