RadioMenuItem.joinGroup

Joins a gtk.RadioMenuItem object to the group of another gtk.RadioMenuItem object.

This function should be used by language bindings to avoid the memory manangement of the opaque GSList of RadioMenuItem.getGroup and RadioMenuItem.setGroup.

A common way to set up a group of gtk.RadioMenuItem instances is:

|[ GtkRadioMenuItem *last_item = NULL;

while ( ...more items to add... ) { GtkRadioMenuItem *radio_item;

radio_item = gtk_radio_menu_item_new (...);

gtk_radio_menu_item_join_group (radio_item, last_item); last_item = radio_item; }

Params:
    groupSource = a [gtk.RadioMenuItem.RadioMenuItem|gtk.RadioMenuItem] whose group we are
        joining, or `NULL` to remove the `radio_menu_item` from its current
        group

Since: 3.18
class RadioMenuItem
void
joinGroup