ActionGroup.addToggleActions

This is a convenience function to create a number of toggle actions and add them to the action group.

The “activate” signals of the actions are connected to the callbacks and their accel paths are set to <Actions>/group-name/action-name.

class ActionGroup
void
addToggleActions

Parameters

entries GtkToggleActionEntry[]

an array of toggle action descriptions

userData void*

data to pass to the action callbacks

Meta