Function

GObject-2.0GObjectsignal_handlers_block_by_func

  • Blocks all handlers on an instance that match func.

    Parameters

    • instance: GObject.Object

      the instance to block handlers from.

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

      the callback function the handler will invoke.

    Returns number

    The number of handlers that matched.

  • Parameters

    Returns void