TreeModelT.rowsReordered

Emits the "rows-reordered" signal on tree_model. This should be called by models when their rows have been reordered.

template TreeModelT(TStruct)
void
rowsReordered

Parameters

path TreePath

A GtkTreePath pointing to the tree node whose children have been reordered

iter TreeIter

A valid GtkTreeIter pointing to the node whose children have been reordered, or NULL if the depth of path is 0.

newOrder int[]

an array of integers mapping the current position of each child to its old position before the re-ordering, i.e. new_ordernewpos = oldpos. Signal Details The "row-changed" signal void user_function (GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter, gpointer user_data) : Run Last This signal is emitted when a row in the model has changed.

path TreePath

a GtkTreePath identifying the changed row

iter TreeIter

a valid GtkTreeIter pointing to the changed row

Meta