Method

GtkRadioActionget_group

Declaration [src]

GSList*
gtk_radio_action_get_group (
  GtkRadioAction* action
)

Description [src]

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);
    }
Available since:2.4
Deprecated since:3.10

Please do not use it in newly written code.

Return value

Type: A list of GtkRadioAction*

The list representing the radio group for this object.

The data is owned by the instance.