RadioButton.joinGroup

void joinGroup(gtk.radio_button.RadioButton groupSource = null)

Joins a #GtkRadioButton object to the group of another #GtkRadioButton object

Use this in language bindings instead of the gtk.radio_button.RadioButton.getGroup and gtk.radio_button.RadioButton.setGroup methods

A common way to set up a group of radio buttons is the following:

GtkRadioButton *radio_button;
  GtkRadioButton *last_button;

  while (some_condition)
    {
       radio_button = gtk_radio_button_new (NULL);

       gtk_radio_button_join_group (radio_button, last_button);
       last_button = radio_button;
    }

Parameters

groupSourcea radio button object whos group we are joining, or null to remove the radio button from its group