remove_action_entries


Description:

[ Version ( since = "2.78" ) ]
public void remove_action_entries (ActionEntry[] entries)

Remove actions from a ActionMap.

This is meant as the reverse of add_action_entries.

static const GActionEntry entries[] = {
{ "quit", activate_quit },
{ "print-string", activate_print_string, "s" }
};

void
add_actions (GActionMap *map)
{
g_action_map_add_action_entries (map, entries, G_N_ELEMENTS (entries), NULL);
}

void
remove_actions (GActionMap *map)
{
g_action_map_remove_action_entries (map, entries, G_N_ELEMENTS (entries));
}

Parameters:

this

The ActionMap

entries

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

n_entries

the length of entries, or -1 if entries is null-terminated