Signals.stopEmission

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.

struct Signals
static
void
stopEmission

Parameters

instanc ObjectG

the object whose signal handlers you wish to stop.

signalId uint

the signal identifier, as returned by g_signal_lookup().

detail GQuark

the detail which the signal was emitted with.

Meta