Gtk.RadioButton.new_with_mnemonic_from_widget

function new_with_mnemonic_from_widget(radio_group_member:Gtk.RadioButton, label:String):Gtk.Widget {
    // Gjs wrapper for gtk_radio_button_new_with_mnemonic_from_widget()
}

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

radio_group_member

widget to get radio group from or null

label

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

Returns

a new Gtk.RadioButton