ActionGroupT.connectActionAdded

Connect to ActionAdded signal.

Signals that a new action was just added to the group. This signal is emitted after the action has been added and is now visible.

template ActionGroupT()
ulong
connectActionAdded
(
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] : gio.action_group.ActionGroup)
)
)
&&
Parameters!T.length < 3
)

Parameters

detail string

Signal detail or null (default)

callback T

signal callback delegate or function to connect

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

actionName the name of the action in action_group (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