Gio.SimpleActionGroup.prototype.add_entries

function add_entries(entries: Array(Gio.ActionEntry), user_data: void): void {
    // Gjs wrapper for g_simple_action_group_add_entries()
}
  

A convenience function for creating multiple Gio.SimpleAction instances and adding them to the action group.

Since 2.30

entries

a pointer to the first item in an array of Gio.ActionEntry structs

user_data

the user data for signal connections