get_group


Description:

[ Version ( since = "2.4" ) ]
public unowned SList<RadioAction> get_group ()

Returns the list representing the radio group for this object.

Note that the returned list is only valid until the next change to the group.

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

	GSList *group = NULL;
GtkRadioAction *action;

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

gtk_radio_action_set_group (action, group);
group = gtk_radio_action_get_group (action);
}

Parameters:

this

the action object

Returns:

the list representing the radio group for this object




2022 vala-language.org