ActionGroupT.connectActionEnabledChanged

Connect to ActionEnabledChanged signal.

Signals that the enabled status of the named action has changed.

template ActionGroupT()
ulong
connectActionEnabledChanged
(
T
)
(
string detail = null
,,
Flag!"After" after = No.After
)
if (
isCallable!T &&
is(ReturnType!T == void)
&&
(
Parameters!T.length < 1 ||
(
ParameterStorageClassTuple!T[0] == ParameterStorageClass.none &&
is(Parameters!T[0] == string)
)
)
&&
(
Parameters!T.length < 2 ||
(
ParameterStorageClassTuple!T[1] == ParameterStorageClass.none &&
is(Parameters!T[1] == bool)
)
)
&&
(
Parameters!T.length < 3 ||
(
ParameterStorageClassTuple!T[2] == ParameterStorageClass.none &&
is(Parameters!T[2] : gio.action_group.ActionGroup)
)
)
&&
Parameters!T.length < 4
)

Parameters

detail string

Signal detail or null (default)

callback T

signal callback delegate or function to connect

void callback(string actionName, bool enabled, gio.action_group.ActionGroup actionGroup)

actionName the name of the action in action_group (optional)

enabled whether the action is enabled or not (optional)

actionGroup the instance the signal is connected to (optional)

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID