RadioAction.joinGroup

Joins a radio action object to the group of another radio action object.

Use this in language bindings instead of the RadioAction.getGroup and RadioAction.setGroup methods

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

GtkRadioAction *action;
GtkRadioAction *last_action;

while ( ...more actions to add... /)
{
action = gtk_radio_action_new (...);

gtk_radio_action_join_group (action, last_action);
last_action = action;
}
class RadioAction
void
joinGroup

Parameters

groupSource RadioAction

a radio action object whos group we are joining, or NULL to remove the radio action from its group

Meta