signalStopEmission

fnvoid signalStopEmission(gobject.object.ObjectWrap instance, uint signalId, glib.types.Quark detail)

Stops a signal's current emission.

This will prevent the default method from running, if the signal was G_SIGNAL_RUN_LAST and you connected normally (i.e. without the "after" flag).

Prints a warning if used on a signal which isn't being emitted.

Parameters

instancethe object whose signal handlers you wish to stop.
signalIdthe signal identifier, as returned by [gobject.global.signalLookup].
detailthe detail which the signal was emitted with.