Gtk.TextView.prototype.get_iter_location

function get_iter_location(iter:Gtk.TextIter):void {
    // Gjs wrapper for gtk_text_view_get_iter_location()
}

Gets a rectangle which roughly contains the character at iter. The rectangle position is in buffer coordinates; use Gtk.TextView.prototype.buffer_to_window_coords to convert these coordinates to coordinates for one of the windows in the text view.

iter

a Gtk.TextIter