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