emit_by_name


Description:

public static void emit_by_name (void* instance, string detailed_signal, ...)

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 emit_by_name resets the return value to the default if no handlers are connected, in contrast to g_signal_emitv.

Parameters:

instance

the instance the signal is being emitted on.

detailed_signal

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

...

parameters to be passed to the signal, followed by a location for the return value. If the return type of the signal is g_type_none, the return value location can be omitted. The number of parameters to pass to this function is defined when creating the signal.