Gtk.Menu.prototype.reorder_child

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

Moves child to a new position in the list of menu children.

child

the Gtk.MenuItem to move

position

the new position to place child. Positions are numbered from 0 to n - 1