A convenience function for glib.global.unixSignalSourceNew, which attaches to the default #GMainContext. You can remove the watch using glib.source.Source.remove.
the priority of the signal source. Typically this will be in the range between G_PRIORITY_DEFAULT and G_PRIORITY_HIGH.
Signal number
Callback
An ID (greater than 0) for the event source
A convenience function for glib.global.unixSignalSourceNew, which attaches to the default #GMainContext. You can remove the watch using glib.source.Source.remove.