Gtk.Notebook.prototype.set_menu_label_text

function set_menu_label_text(child:Gtk.Widget, menu_text:String):void {
    // Gjs wrapper for gtk_notebook_set_menu_label_text()
}

Creates a new label and sets it as the menu label of child.

child

the child widget

menu_text

the label text