Adds an emission hook for a signal, which will get called for any emission of that signal, independent of the instance.
This is possible only for signals which don't have g_signal_no_hooks flag set.
signal_id |
the signal identifier, as returned by lookup. |
detail |
the detail on which to call the hook. |
hook_func |
a SignalEmissionHook function. |
data_destroy |
a DestroyNotify for |
hook_data |
user data for |
the hook id, for later use with remove_emission_hook. |