ChildProxy
Object Hierarchy:
Gst.ChildProxy
Gst.ChildProxy
Gst.ChildProxy
GLib.Object
GLib.Object
GLib.Object->Gst.ChildProxy
Description:
[ CCode ( type_cname = "GstChildProxyInterface" , type_id = "gst_child_proxy_get_type ()" ) ]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 (...)
Gets properties of the parent object and its children.
public void @set (...)
Sets properties of the parent object and its children.
public abstract Object ? get_child_by_index (uint index)
Fetches a child by its number.
public abstract 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, va_list var_args)
Gets properties of the parent object and its children.
public bool lookup (string name, out Object target, out unowned ParamSpec pspec)
Looks up which object and ParamSpec would
be effected by the given name
.
public void set_property (string name, Value value)
Sets a single property using the GstChildProxy mechanism.
public void set_valist (string first_property_name, va_list var_args)
Sets properties of the parent object and its children.
Signals:
Inherited Members:
All known members inherited from class GLib.Object
@get
@new
@ref
@set
add_toggle_ref
add_weak_pointer
bind_property
connect
constructed
disconnect
dispose
dup_data
dup_qdata
force_floating
freeze_notify
get_class
get_data
get_property
get_qdata
get_type
getv
interface_find_property
interface_install_property
interface_list_properties
is_floating
new_valist
new_with_properties
newv
notify
notify_property
ref_count
ref_sink
remove_toggle_ref
remove_weak_pointer
replace_data
replace_qdata
set_data
set_data_full
set_property
set_qdata
set_qdata_full
set_valist
setv
steal_data
steal_qdata
thaw_notify
unref
watch_closure
weak_ref
weak_unref