[ Version ( since = "2.4" ) ]
public void add_radio_actions (RadioActionEntry[] entries, int value, RadioActionCallback on_change)
This is a convenience routine to create a group of radio actions and add them to the action group.
The “changed” signal of the first radio action is connected to the on_change
callback and the accel paths of the actions
are set to `<Actions>/group-name/action-name`.
this |
the action group |
entries |
an array of radio action descriptions |
value |
the value of the action to activate initially, or -1 if no action should be activated |
on_change |
the callback to connect to the changed signal |
n_entries |
the number of entries |
user_data |
data to pass to the action callbacks |