Gtk.Notebook.prototype.set_menu_label

function set_menu_label(child:Gtk.Widget, menu_label:Gtk.Widget):void {
    // Gjs wrapper for gtk_notebook_set_menu_label()
}

Changes the menu label for the page containing child.

child

the child widget

menu_label

the menu label, or null for default