set_action_group


Description:

[ Version ( deprecated = true , deprecated_since = "2.32" , since = "2.28" ) ]
public void set_action_group (ActionGroup? action_group)

Warning: set_action_group is deprecated since 2.32.

This used to be how actions were associated with a Application.

Note:

Use the ActionMap interface instead. Never ever mix use of this API with use of ActionMap on the same this or things will go very badly wrong. This function is known to introduce buggy behaviour (ie: signals not emitted on changes to the action group), so you should really use ActionMap instead.

Now there is ActionMap for that.

Parameters:

this

a Application

action_group

a ActionGroup, or null