Gtk.RadioMenuItem.new_with_mnemonic

function new_with_mnemonic(group:[Gtk.RadioMenuItem], label:String):Gtk.Widget {
    // Gjs wrapper for gtk_radio_menu_item_new_with_mnemonic()
}

Creates a new Gtk.RadioMenuItem containing a label. The label will be created using Gtk.Label.new_with_mnemonic, so underscores in label indicate the mnemonic for the menu item.

group

group the radio menu item is inside

label

the text of the button, with an underscore in front of the mnemonic character

Returns

a new Gtk.RadioMenuItem