the instance to connect to.
a string of the form "signal-name::detail".
the #GCallback to connect.
data to pass to @c_handler calls.
a #GClosureNotify for @data.
a combination of #GConnectFlags.
the handler ID (always greater than 0 for successful connections)
Connects a #GCallback function to a signal for a particular object. Similar to g_signal_connect(), but allows to provide a #GClosureNotify 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.