Associate the given signal with the given callback.
Associate the given callback to the user programmed event signal_name (which must be previously created), and put it into the events checked by the main loop.
|signal_name ||A signal name to be looked up |
|callback ||The callback to be asociated.|
- Returns the GSource Id or 0 if the signal wasn't found.