Method

GtkListStorereorder

since: 2.2

Declaration [src]

void
gtk_list_store_reorder (
  GtkListStore* store,
  gint* new_order
)

Description [src]

Reorders store to follow the order indicated by new_order. Note that this function only works with unsorted stores.

Available since: 2.2

Parameters

new_order

Type: An array of gint

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. It must have exactly as many items as the list store’s length.

The array must be NULL-terminated.
The data is owned by the caller of the method.