signalHandlerFind

fngulong signalHandlerFind(gobject.object.ObjectWrap instance, gobject.types.SignalMatchType mask, uint signalId, glib.types.Quark detail, gobject.closure.Closure closure = null, void * func = null)

Finds the first signal handler that matches certain selection criteria. The criteria mask is passed as an OR-ed combination of #GSignalMatchType 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.

Parameters

instanceThe instance owning the signal handler to be found.
maskMask indicating which of signal_id, detail, closure, func and/or data the handler has to match.
signalIdSignal the handler has to be connected to.
detailSignal detail the handler has to be connected to.
closureThe closure the handler will invoke.
funcThe C closure callback of the handler (useless for non-C closures).

Returns

A valid non-0 signal handler id for a successful match.