CellRendererToggle.connectToggled

gulong connectToggled(T)(T callback, 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] : gtk.cell_renderer_toggle.CellRendererToggle))) && Parameters!T.length < 3)

Connect to Toggled signal.

The ::toggled signal is emitted when the cell is toggled.

It is the responsibility of the application to update the model with the correct value to store at path. Often this is simply the opposite of the value currently stored at path.

Parameters

callbacksignal callback delegate or function to connect void callback(string path, gtk.cell_renderer_toggle.CellRendererToggle cellRendererToggle) path string representation of #GtkTreePath describing the event location (optional) cellRendererToggle 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