A convenience function for g_unix_signal_source_new(), which attaches to the default glib.MainContext You can remove the watch using Source.remove.
Signal number
Callback
Data for handler
An ID (greater than 0) for the event source
2.30
A convenience function for g_unix_signal_source_new(), which attaches to the default glib.MainContext You can remove the watch using Source.remove.