Gtk.RadioButton.new_with_label_from_widget

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

Creates a new Gtk.RadioButton with a text label, adding it to the same group as radio_group_member.

radio_group_member

widget to get radio group from or null

label

a text string to display next to the radio button.

Returns

a new radio button.