WeakRef.set

Change the object to which weak_ref points, or set it to NULL.

You must own a strong reference on object while calling this function.

class WeakRef
void
set

Parameters

object ObjectG

a GObject or NULL

Meta

Since

2.32