signalAccumulatorFirstWins

fun signalAccumulatorFirstWins(ihint: SignalInvocationHint, returnAccu: Value, handlerReturn: Value, dummy: <Error class: unknown class>? = null): Boolean

A predefined #GSignalAccumulator for signals intended to be used as a hook for application code to provide a particular value. Usually only one such value is desired and multiple handlers for the same signal don't make much sense (except for the case of the default handler defined in the class structure, in which case you will usually want the signal connection to override the class handler).

This accumulator will use the return value from the first signal handler that is run as the return value for the signal and not run any further handlers (ie: the first handler "wins").

Return

standard #GSignalAccumulator result

Since

2.28

Parameters

ihint

standard #GSignalAccumulator parameter

returnAccu

standard #GSignalAccumulator parameter

handlerReturn

standard #GSignalAccumulator parameter

dummy

standard #GSignalAccumulator parameter