@accepts(GObject.SignalInvocationHint, GObject.Value, GObject.Value, gpointer)
def signal_accumulator_object_handled(hint, return_accu, handler_return, dummy)

A GSignalAccumulator that aborts the signal emission after the first handler to return a value, and returns the value returned by that handler. This is the opposite behaviour from what you get when no accumulator is specified, where the last signal handler wins.

hint :

a GSignalInvocationHint

return_accu :

holds the accumulated return value

handler_return :

holds the return value to be accumulated

dummy :

user data (unused)

Returns :

False to abort signal emission, True to continue