DataProxy.connectValidateRowChanges

gulong connectValidateRowChanges(T)(T callback, Flag!"After" after = No.After) if (isCallable!T && is(ReturnType!T == glib.error.ErrorWrap) && (Parameters!T.length < 1 || (ParameterStorageClassTuple!T[0] == ParameterStorageClass.none && is(Parameters!T[0] == int))) && (Parameters!T.length < 2 || (ParameterStorageClassTuple!T[1] == ParameterStorageClass.none && is(Parameters!T[1] == int))) && (Parameters!T.length < 3 || (ParameterStorageClassTuple!T[2] == ParameterStorageClass.none && is(Parameters!T[2] : gda.data_proxy.DataProxy))) && Parameters!T.length < 4)

Connect to ValidateRowChanges signal.

Gets emitted when proxy is about to commit a row change to the proxied data model. If any callback returns a non null value, then the change commit fails with the returned #GError

Parameters

callbacksignal callback delegate or function to connect glib.error.ErrorWrap callback(int row, int proxiedRow, gda.data_proxy.DataProxy dataProxy) row the proxy's row (optional) proxiedRow the proxied data model's row (optional) dataProxy the instance the signal is connected to (optional) Returns a new #GError if validation failed, or null
afterYes.After to execute callback after default handler, No.After to execute before (default)

Returns

Signal ID