A simple function pointer to get invoked when the signal is emitted. This allows you to tie a hook to the signal type, so that it will trap all emissions of that signal, from any object.

You may not attach these to signals created with the G_SIGNAL_NO_HOOKS flag.

alias GSignalEmissionHook = int function(GSignalInvocationHint* ihint, uint nParamValues, GValue* paramValues, void* data)

Return Value

whether it wants to stay connected. If it returns FALSE, the signal hook is disconnected (and destroyed).