Connects a closure to a signal for a particular object.
the instance to connect to.
the id of the signal.
the detail.
the closure to connect.
whether the handler should be called before or after the default handler of the signal.
Return: the handler id (always greater than 0 for successful connections)
See Implementation
Connects a closure to a signal for a particular object.