AccelGroup.connectAccelChanged

Connect to AccelChanged signal.

The accel-changed signal is emitted when an entry is added to or removed from the accel group.

Widgets like #GtkAccelLabel which display an associated accelerator should connect to this signal, and rebuild their visual representation if the accel_closure is theirs.

class AccelGroup
gulong
connectAccelChanged
(
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] == uint)
)
)
&&
(
Parameters!T.length < 2 ||
(
ParameterStorageClassTuple!T[1] == ParameterStorageClass.none &&
is(Parameters!T[1] == gdk.types.ModifierType)
)
)
&&
(
Parameters!T.length < 3 ||
(
ParameterStorageClassTuple!T[2] == ParameterStorageClass.none &&
is(Parameters!T[2] == gobject.closure.Closure)
)
)
&&
(
Parameters!T.length < 4 ||
(
ParameterStorageClassTuple!T[3] == ParameterStorageClass.none &&
is(Parameters!T[3] : gtk.accel_group.AccelGroup)
)
)
&&
Parameters!T.length < 5
)

Parameters

detail string

Signal detail or null (default)

callback T

signal callback delegate or function to connect

void callback(uint keyval, gdk.types.ModifierType modifier, gobject.closure.Closure accelClosure, gtk.accel_group.AccelGroup accelGroup)

keyval the accelerator keyval (optional)

modifier the modifier combination of the accelerator (optional)

accelClosure the #GClosure of the accelerator (optional)

accelGroup 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: gulong

Signal ID