ActionGroup.addRadioActions

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.

class ActionGroup
void
addRadioActions

Parameters

entries GtkRadioActionEntry[]

an array of radio action descriptions

value int

the value of the action to activate initially, or -1 if no action should be activated

onChange GCallback

the callback to connect to the changed signal

userData void*

data to pass to the action callbacks

Meta