swap

open fun swap(a: TreeIter, b: TreeIter)(source)

⚠️ Deprecated ⚠️

This is deprecated since version 4.10.

Use class@Gtk.TreeListModel instead

---

Swaps @a and @b in the same level of @tree_store.

Note that this function only works with unsorted stores.

Parameters

a

A GtkTreeIter.

b

Another GtkTreeIter.