reorder


Description:

public void reorder (TreeIter? parent, int[] new_order)

Reorders the children of parent in this to follow the order indicated by new_order.

Note:

Use [class@Gtk.TreeListModel] instead

Note that this function only works with unsorted stores.

Parameters:

this

A `GtkTreeStore`

parent

the parent of the children to re-order

new_order

an array of integers mapping the new position of each child to its old position before the re-ordering, i.e. `new_order[newpos] = oldpos`