Gtk.TreeIter.prototype.copy
function copy():Gtk.TreeIter {
// Gjs wrapper for gtk_tree_iter_copy()
}Creates a dynamically allocated tree iterator as a copy of iter.
This function is not intended for use in applications, because you can just copy the structs by value (<literal>GtkTreeIter new_iter = iter;</literal>). You must free this iter with Gtk.free.
- Returns
a newly-allocated copy of iter