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:
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.
- public Object? get_child_by_name (string name)
Looks up a child element by the given name.
- public abstract uint get_children_count ()
Gets the number of child objects this parent contains.
- public void get_property (string name, ref Value value)
Gets a single property using the GstChildProxy mechanism.
- 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.
- 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:
Inherited Members:
All known members inherited from class Gst.Object
All known members inherited from class GLib.Object