Function
GObjectsignal_add_emission_hook
Declaration [src]
gulong
g_signal_add_emission_hook (
  guint signal_id,
  GQuark detail,
  GSignalEmissionHook hook_func,
  gpointer hook_data,
  GDestroyNotify data_destroy
)
Description [src]
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.
Parameters
- signal_id
- 
            Type: guintThe signal identifier, as returned by g_signal_lookup(). 
- detail
- 
            Type: GQuarkThe detail on which to call the hook. 
- hook_func
- 
            Type: GSignalEmissionHookA GSignalEmissionHookfunction.
- hook_data
- 
            Type: gpointerUser data for hook_func.The argument can be NULL.The data is owned by the caller of the function. 
- data_destroy
- 
            Type: GDestroyNotifyA GDestroyNotifyforhook_data.The argument can be NULL.