Method

Gtk.TreeModel.rows_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 GtkTreeModel::rows-reordered signal on tree_model.

This should be called by models when their rows have been reordered.

Parameters

path GtkTreePath
 

a GtkTreePath-struct pointing to the tree node whose children have been reordered

 Ownership is not transferred to the callee
iter GtkTreeIter
 

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

 Can be NULL
 Ownership is not transferred to the callee
new_order An array of int
 

an 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 in the length argument
 Ownership is not transferred to the callee
length int
 

length of new_order array