signal_accumulator_value_handled

@accepts(GObject.SignalInvocationHint, GObject.Value, GObject.Value, gpointer)
@returns(gboolean)
def signal_accumulator_value_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