Function

GObject-2.0GObjectsignal_emitv

  • Emits a signal. Signal emission is done synchronously. The method will only return control after all handlers are called or signal emission was stopped.

    Note that g_signal_emitv() doesn't change return_value if no handlers are connected, in contrast to g_signal_emit() and g_signal_emit_valist().

    Parameters

    • instance_and_params: any[]

      argument list for the signal emission. The first element in the array is a GObject.Value for the instance the signal is being emitted on. The rest are any arguments to be passed to the signal.

    • signal_id: number

      the signal id

    • detail: number

      the detail

    • Optionalreturn_value: any

      Location to store the return value of the signal emission. This must be provided if the specified signal returns a value, but may be ignored otherwise.

    Returns unknown