TreeIter.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 (GtkTreeIter new_iter = iter;). You must free this iter with [gtk.tree_iter.TreeIter.free].

Returns

a newly-allocated copy of iter