reorder


Description:

public void reorder (int[] new_order)

Reorders this to follow the order indicated by new_order.

Note that this function only works with unsorted stores.

Parameters:

this

A `GtkListStore`.

new_order

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.




2022 vala-language.org