ActionGroup.addRadioActions

Warning gtk_action_group_add_radio_actions is deprecated and should not be used in newly-written code. 3.10 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. Since 2.4

class ActionGroup
void
addRadioActions

Parameters

entries GtkRadioActionEntry[]

an array of radio action descriptions. [array length=n_entries]

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