setActionGroup

open fun setActionGroup(actionGroup: ActionGroup? = null)(source)

⚠️ Deprecated ⚠️

This is deprecated since version 2.32.

Use the #GActionMap interface instead. Never ever mix use of this API with use of #GActionMap on the same @application 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 #GActionMap instead.

This used to be how actions were associated with a #GApplication. Now there is #GActionMap for that.

Since

2.28

Parameters

actionGroup

a #GActionGroup, or null