ObjectWrap.hasAsParent

bool hasAsParent(gst.object.ObjectWrap parent)

Check if parent is the parent of object. E.g. a #GstElement can check if it owns a given #GstPad.

Parameters

parenta #GstObject to check as parent

Returns

false if either object or parent is null. true if parent is

the parent of object. Otherwise false.

MT safe. Grabs and releases object's locks.