A variant of this() which uses object as userData and
calls ObjectG.watchClosure() on object and the created
closure. This function is useful when you have a callback closely
associated with a gobject.ObjectG, and want the callback to no longer run
after the object is is freed.
A variant of this() which uses object as userData and calls ObjectG.watchClosure() on object and the created closure. This function is useful when you have a callback closely associated with a gobject.ObjectG, and want the callback to no longer run after the object is is freed.