lookup_child


Description:

public virtual bool lookup_child (string prop_name, out Object child, out ParamSpec pspec)

Looks up a child property of the element.

prop_name can either be in the format "prop-name" or "TypeName:GESTimelineElement:prop-name", where "prop-name" is the name of the property to look up (as used in @get), and "TypeName" is the type name of the child (as returned by G_OBJECT_TYPE_NAME). The latter format is useful when two children of different types share the same property name.

The first child found with the given "prop-name" property that was registered with add_child_property (and of the type "TypeName", if it was given) will be passed to child, and the registered specification of this property will be passed to pspec.

Parameters:

this

A TimelineElement

prop_name

The name of a child property

child

The return location for the found child

pspec

The return location for the specification of the child property

Returns:

true if a child corresponding to the property was found, in which case child and pspec are set.