ObjectWrap.setParent

Sets the parent of object to parent. The object's reference count will be incremented, and any floating reference will be removed (see gst.object.ObjectWrap.refSink).

class ObjectWrap
bool
setParent

Parameters

parent gst.object.ObjectWrap

new parent of object

Return Value

Type: bool

true if parent could be set or false when object already had a parent or object and parent are the same.

MT safe. Grabs and releases object's LOCK.