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_sink()). This function causes the parent-set signal to be emitted when the parent was successfully set.

class ObjectGst
int
setParent

Parameters

parent ObjectGst

new parent of object

Return Value

Type: int

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.

Meta