ChildProxy
Object Hierarchy:
Description:
public interface ChildProxy :
Object
This interface abstracts handling of property sets for elements with children. Imagine elements such as mixers or polyphonic generators.
They all have multiple Pad or some kind of voice objects. Another use case are container elements
like Bin. The element implementing the interface acts as a parent for those child objects. By
implementing this interface the child properties can be accessed from the parent element by using
get and set. Property names are
written as "child-name::property-name". The whole naming scheme is recursive. Thus "child1::child2::property" is valid too, if "child1"
and "child2" implement the ChildProxy interface.
All known implementing classes:
Namespace: Gst
Package: gstreamer-0.10
Content:
Methods:
-
public void get (string first_property_name, ...)
Gets properties of the parent object and its children.
-
public abstract Object? get_child_by_index (uint index)
Fetches a child by its number. too high). Unref after usage. MT safe.
-
public Object? get_child_by_name (string name)
Looks up a child element by the given name. Implementors can use
Object together with get_name
after usage. MT safe.
-
public abstract uint get_children_count ()
Gets the number of child objects this parent contains. MT safe.
-
public void get_property (string name, ref Value value)
Gets a single property using the GstChildProxy mechanism. You are responsible for for freeing it by
calling unset
-
public void get_valist (string first_property_name, void* var_args)
Gets properties of the parent object and its children.
-
public bool lookup (string name, out Object? target, out ParamSpec? pspec)
Looks up which object and ParamSpec
would be effected by the given name. case the values for pspec and target are not modified.
Unref target after usage. MT safe.
-
public void set (string first_property_name, ...)
Sets properties of the parent object and its children.
-
public void set_property (string name, Value value)
Sets a single property using the GstChildProxy mechanism.
-
public void set_valist (string first_property_name, void* var_args)
Sets properties of the parent object and its children.
Signals: