set_parent


Description:

public bool set_parent (Object parent)

Sets the parent of this to parent.

The object's reference count will be incremented, and any floating reference will be removed (see gst_object_ref_sink).

Parameters:

this

a Object

parent

new parent of object

Returns:

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

MT safe. Grabs and releases this's LOCK.