Gtk.Notebook.prototype.reorder_child

function reorder_child(child:Gtk.Widget, position:Number):void {
    // Gjs wrapper for gtk_notebook_reorder_child()
}

Reorders the page containing child, so that it appears in position position. If position is greater than or equal to the number of children in the list or negative, child will be moved to the end of the list.

child

the child to move

position

the new position, or -1 to move to the end