Connects a closure to a signal for a particular object.
If closure is a floating reference (see g_closure_sink()), this function
takes ownership of closure.
This function cannot fail. If the given signal name doesn’t exist,
a critical warning is emitted. No validation is performed on the
‘detail’ string when specified in detailed_signal, other than a
non-empty check.
Connects a closure to a signal for a particular object.
If
closureis a floating reference (seeg_closure_sink()), this function takes ownership ofclosure.This function cannot fail. If the given signal name doesn’t exist, a critical warning is emitted. No validation is performed on the ‘detail’ string when specified in
detailed_signal, other than a non-empty check.Refer to the signals documentation for more details.