Set the contents of a G_TYPE_OBJECT derived gobject.Value to v_object.
Value.setObject increases the reference count of v_object
(the gobject.Value holds a reference to v_object). If you do not wish
to increase the reference count of the object (i.e. you wish to
pass your current reference to the gobject.Value because you no longer
need it), use Value.takeObject instead.
It is important that your gobject.Value holds a reference to v_object (either its
own, or one it has taken) to ensure that the object won't be destroyed while
the gobject.Value still exists).
Set the contents of a G_TYPE_OBJECT derived gobject.Value to v_object.
Value.setObject increases the reference count of v_object (the gobject.Value holds a reference to v_object). If you do not wish to increase the reference count of the object (i.e. you wish to pass your current reference to the gobject.Value because you no longer need it), use Value.takeObject instead.
It is important that your gobject.Value holds a reference to v_object (either its own, or one it has taken) to ensure that the object won't be destroyed while the gobject.Value still exists).