Gtk.Notebook.prototype.prepend_page

function prepend_page(child:Gtk.Widget, tab_label:Gtk.Widget):Number {
    // Gjs wrapper for gtk_notebook_prepend_page()
}

Prepends a page to notebook.

child

the Gtk.Widget to use as the contents of the page

tab_label

the Gtk.Widget to be used as the label for the page, or null to use the default label, 'page N'

Returns

the index (starting from 0) of the prepended page in the notebook, or -1 if function fails