Function

GObject-2.0GObjectsignal_add_emission_hook

  • 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 GObject.SignalFlags.NO_HOOKS flag set.

    Parameters

    Returns number

    the hook id, for later use with g_signal_remove_emission_hook().