Function

GObject-2.0GObjectsignal_stop_emission

  • Stops a signal's current emission.

    This will prevent the default method from running, if the signal was GObject.SignalFlags.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

      the object whose signal handlers you wish to stop.

    • signal_id: number

      the signal identifier, as returned by g_signal_lookup().

    • detail: number

      the detail which the signal was emitted with.

    Returns void