DataProxy.connectValidateRowChanges

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

class DataProxy
ulong
connectValidateRowChanges
(
T
)
(,
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
)

Parameters

callback T

signal 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

after Flag!"After"

Yes.After to execute callback after default handler, No.After to execute before (default)

Return Value

Type: ulong

Signal ID