public uint disconnect_matched (void* instance, SignalMatchType mask, uint signal_id, Quark detail, Closure? closure, void* func, void* data)
Disconnects all handlers on an instance that match a certain selection criteria.
The criteria mask is passed as an OR-ed combination of SignalMatchType flags, and the criteria values are passed as arguments. Passing at least one of the g_signal_match_closure, g_signal_match_func or g_signal_match_data match flags is required for successful matches. If no handlers were found, 0 is returned, the number of disconnected handlers otherwise.
The instance to remove handlers from.
Mask indicating which of
Signal the handlers have to be connected to.
Signal detail the handlers have to be connected to.
The closure the handlers will invoke.
The C closure callback of the handlers (useless for non-C closures).
The closure data of the handlers' closures.
The number of handlers that matched.