signalConnectClosureById
fun signalConnectClosureById(instance: Object, signalId: <Error class: unknown class>, detail: <Error class: unknown class>, closure: Closure, after: Boolean): <Error class: unknown class>
Connects a closure to a signal for a particular object.
Return
the handler ID (always greater than 0 for successful connections)
Parameters
instance
the instance to connect to.
signalId
the id of the signal.
detail
the detail.
closure
the closure to connect.
after
whether the handler should be called before or after the default handler of the signal.