ObjectGst.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.ObjectGst.refSink).

class ObjectGst
bool
setParent

Parameters

parent gst.object.ObjectGst

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.