Gtk.MenuItem.new_with_label
function new_with_label(label:String):Gtk.Widget { // Gjs wrapper for gtk_menu_item_new_with_label() }
Creates a new Gtk.MenuItem whose child is a Gtk.Label.
- label
the text for the label
- Returns
the newly created Gtk.MenuItem