Gtk.RadioButton.new_with_label

function new_with_label(group:[Gtk.RadioButton], label:String):Gtk.Widget {
    // Gjs wrapper for gtk_radio_button_new_with_label()
}

Creates a new Gtk.RadioButton with a text label.

group

an existing radio button group, or null if you are creating a new group.

label

the text label to display next to the radio button.

Returns

a new radio button.