Gtk.Notebook.prototype.remove_page

function remove_page(page_num:Number):void {
    // Gjs wrapper for gtk_notebook_remove_page()
}

Removes a page from the notebook given its index in the notebook.

page_num

the index of a notebook page, starting from 0. If -1, the last page will be removed.