SignalGroup.connectBind

Connect to Bind signal.

This signal is emitted when #GSignalGroup:target is set to a new value other than null. It is similar to #GObject::notify on target except it will not emit when #GSignalGroup:target is null and also allows for receiving the #GObject without a data-race.

class SignalGroup
ulong
connectBind
(
T
)
(,
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] : gobject.object.ObjectG)
)
)
&&
(
Parameters!T.length < 2 ||
(
ParameterStorageClassTuple!T[1] == ParameterStorageClass.none &&
)
)
&&
Parameters!T.length < 3
)

Parameters

callback T

signal callback delegate or function to connect

void callback(gobject.object.ObjectG instance, gobject.signal_group.SignalGroup signalGroup)

instance a #GObject containing the new value for #GSignalGroup:target (optional)

signalGroup 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