diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-01-19 17:01:19 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-01-19 17:01:19 -0500 |
commit | 2f7245699b601aa76f4ecded11e3a760bc46de1e (patch) | |
tree | c13be81cc61fd929e1f879d9fe2f030143dd9dd9 /gtk/gtktextview.h | |
parent | ba02ae72fae8ea48d870f0ddc329898417b3d20e (diff) | |
download | gtk+-2f7245699b601aa76f4ecded11e3a760bc46de1e.tar.gz |
Add gtk_text_view_get_cursor_locations
In GTK 3.0 it's no longer possible to e.g. pop up something
at a text view's cursor (this wasn't exactly possible before
either without including gtktextlayout, but this is a quite
special need anyway).
Diffstat (limited to 'gtk/gtktextview.h')
-rw-r--r-- | gtk/gtktextview.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtktextview.h b/gtk/gtktextview.h index 2853c63962..a025314acc 100644 --- a/gtk/gtktextview.h +++ b/gtk/gtktextview.h @@ -149,6 +149,10 @@ void gtk_text_view_set_cursor_visible (GtkTextView *text_view, gboolean setting); gboolean gtk_text_view_get_cursor_visible (GtkTextView *text_view); +void gtk_text_view_get_cursor_locations (GtkTextView *text_view, + const GtkTextIter *iter, + GdkRectangle *strong, + GdkRectangle *weak); void gtk_text_view_get_iter_location (GtkTextView *text_view, const GtkTextIter *iter, GdkRectangle *location); |