GObject.signal_stop_emission_by_name

function signal_stop_emission_by_name(instance: GObject.Object, detailed_signal: String): void {
    // Gjs wrapper for g_signal_stop_emission_by_name()
}
  

Stops a signal's current emission.

This is just like GObject.signal_stop_emission except it will look up the signal id for you.

instance

the object whose signal handlers you wish to stop.

detailed_signal

a string of the form "signal-name::detail".