get_iter_at_location
Description:
Retrieves the iterator at buffer coordinates x
and y
.
Buffer coordinates are coordinates for the entire buffer, not just the currently-displayed portion. If you have coordinates from an event, you have to convert those to buffer coordinates with [method@Gtk.TextView.window_to_buffer_coords].
Parameters:
this |
a `GtkTextView` |
iter |
a `GtkTextIter` |
x |
x position, in buffer coordinates |
y |
y position, in buffer coordinates |
Returns:
true if the position is over text |