Package: gobject

Function g-signal-stop-emission

Lambda List

g-signal-stop-emission (instance signal-id detail)

Arguments

instance -- a g-object instance whose signal handlers you wish to stop
signal-id -- an unsigned integer with the signal identifier, as returned by the g-signal-lookup function
detail -- a g-quark with the detail which the signal was emitted with

Details

Stops a current emission of the signal. This will prevent the default method from running, if the signal was :run-last and you connected normally (i.e. without the "after" flag).

Prints a warning if used on a signal which is not being emitted.
 

See also

2021-12-14