Function

GObject-2.0GObjectsignal_handlers_disconnect_by_func

  • Disconnects all handlers on an instance that match func.

    Parameters

    • instance: GObject.Object

      the instance to remove handlers from.

    • func: (...args: any[]) => any

      the callback function the handler will invoke.

    Returns number

    The number of handlers that matched.

  • Parameters

    Returns void