Gtk.Notebook.prototype.set_tab_label_text

function set_tab_label_text(child:Gtk.Widget, tab_text:String):void {
    // Gjs wrapper for gtk_notebook_set_tab_label_text()
}

Creates a new label and sets it as the tab label for the page containing child.

child

the page

tab_text

the label text