Package: gtk

Function gtk-radio-action-join-group

Lambda List

gtk-radio-action-join-group (action source)

Arguments

action -- a gtk-radio-action object
source -- a gtk-radio-action object whose group we are joining, or nil to remove the radio action from its group

Details

Joins a radio action object to the group of another radio action object. Use this in language bindings instead of the the slot access function gtk-radio-action-group.

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; }

Warning

The function gtk-radio-action-join-group has been deprecated since version 3.10 and should not be used in newly written code.
 

See also

2021-7-20