Connects a ObjectConstructorFunc function to a signal for a particular object.
Similar to connect, but allows to provide a
ClosureNotify for the data which will be called when the signal handler is
disconnected and no longer used. Specify connect_flags
if you need `..._after()` or `..._swapped()` variants of this
function.
instance |
the instance to connect to. |
detailed_signal |
a string of the form "signal-name: |
data |
data to pass to |
destroy_data |
a ClosureNotify for |
c_handler |
the ObjectConstructorFunc to connect. |
connect_flags |
a combination of ConnectFlags. |
the handler ID (always greater than 0 for successful connections) |