public ulong find (void* instance, SignalMatchType mask, uint signal_id, Quark detail, Closure? closure, void* func, void* data)
Finds the first signal handler that matches certain selection criteria.
The criteria mask is passed as an OR-ed combination of SignalMatchType
flags, and the criteria values are passed as arguments. The match
mask has to be non-0 for successful matches. If no handler was
found, 0 is returned.
The instance owning the signal handler to be found.
Mask indicating which of
Signal the handler has to be connected to.
Signal detail the handler has to be connected to.
The closure the handler will invoke.
The C closure callback of the handler (useless for non-C closures).
The closure data of the handler's closure.
A valid non-0 signal handler id for a successful match.