Gtk.TextIter.prototype.copy

function copy():Gtk.TextIter {
    // Gjs wrapper for gtk_text_iter_copy()
}

Creates a dynamically-allocated copy of an iterator. This function is not useful in applications, because iterators can be copied with a simple assignment (<literal>GtkTextIter i = j;</literal>). The function is used by language bindings.

Returns

a copy of the iter, free with gtk_text_iter_free ()