ActionGroup.connectActionStateChanged

gulong connectActionStateChanged(T)(string detail = null, T callback, Flag!"After" after = No.After)

Connect to ActionStateChanged signal.

Signals that the state of the named action has changed.

Parameters

detailSignal detail or null (default)
callbacksignal callback delegate or function to connect void callback(string actionName, glib.variant.Variant value, gio.action_group.ActionGroup actionGroup) actionName the name of the action in action_group (optional) value the new value of the state (optional) actionGroup the instance the signal is connected to (optional)
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID