Gtk.TreeStore.prototype.swap

function swap(a:Gtk.TreeIter, b:Gtk.TreeIter):void {
    // Gjs wrapper for gtk_tree_store_swap()
}

Swaps a and b in the same level of tree_store. Note that this function only works with unsorted stores.

Since 2.2

a

A Gtk.TreeIter.

b

Another Gtk.TreeIter.