signalStopEmission

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

instance gobject.object.ObjectG

the object whose signal handlers you wish to stop.

signalId uint

the signal identifier, as returned by gobject.global.signalLookup.

detail glib.types.Quark

the detail which the signal was emitted with.