Connects a closure to a signal for a particular object.
instance |
the instance to connect to. |
detailed_signal |
a string of the form "signal-name: |
closure |
the closure to connect. |
after |
whether the handler should be called before or after the default handler of the signal. |
the handler ID (always greater than 0 for successful connections) |