Method
GtkTreeModelrows_reordered_with_length
Declaration [src]
void
gtk_tree_model_rows_reordered_with_length (
GtkTreeModel* tree_model,
GtkTreePath* path,
GtkTreeIter* iter,
int* new_order,
int length
)
Description [src]
Emits the ::rows-reordered signal on tree_model.
See GtkTreeModel::rows-reordered.
This should be called by models when their rows have been reordered.
This method is renamed to gtk_tree_model_rows_reordered() in language bindings
Parameters
path-
Type:
GtkTreePathA
GtkTreePathpointing to the tree node whose children have been reordered.The data is owned by the caller of the function. iter-
Type:
GtkTreeIterA valid
GtkTreeIterpointing to the node whose children have been reordered, orNULLif the depth ofpathis 0The argument can be NULL.The data is owned by the caller of the function. new_order-
Type: An array of
intAn array of integers mapping the current position of each child to its old position before the re-ordering, i.e.
new_order``[newpos] = oldposThe length of the array is specified in the lengthargument.The data is owned by the caller of the function. length-
Type:
intLength of
new_orderarray.