Gtk.MenuItem.prototype.get_label

function get_label():String {
    // Gjs wrapper for gtk_menu_item_get_label()
}

Sets @text on the menu_item label

Since 2.16

Returns

The text in the menu_item label. This is the internal string used by the label, and must not be modified.