join_group


Description:

[ Version ( since = "3.0" ) ]
public void join_group (RadioAction? group_source)

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

Use this in language bindings instead of the get_group and set_group 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;
}

Parameters:

this

the action object

group_source

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