Calls a function on each valid glib.Hook
TRUE if hooks which are currently running (e.g. in another thread) are considered valid. If set to FALSE, these are skipped
the function to call for each glib.Hook
data to pass to marshaller
Calls a function on each valid glib.Hook