add_actions


Description:

[ Version ( since = "2.4" ) ]
public void add_actions (ActionEntry[] entries, void* user_data)

This is a convenience function to create a number of 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 action descriptions

user_data

data to pass to the action callbacks

n_entries

the number of entries




2022 vala-language.org