add_toggle_actions


Description:

[ Version ( since = "2.4" ) ]
public void add_toggle_actions (ToggleActionEntry[] entries, void* user_data)

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`.

Parameters:

this

the action group

entries

an array of toggle action descriptions

user_data

data to pass to the action callbacks

n_entries

the number of entries