Trait gstreamer::prelude::ChildProxyExt
source · pub trait ChildProxyExt: 'static {
// Required methods
fn child_added(&self, child: &impl IsA<Object>, name: &str);
fn child_removed(&self, child: &impl IsA<Object>, name: &str);
fn child_by_index(&self, index: u32) -> Option<Object>;
fn child_by_name(&self, name: &str) -> Option<Object>;
fn child_by_name_recurse(&self, name: &str) -> Option<Object>;
fn children_count(&self) -> u32;
fn connect_child_added<F: Fn(&Self, &Object, &str) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId;
fn connect_child_removed<F: Fn(&Self, &Object, &str) + Send + Sync + 'static>(
&self,
f: F
) -> SignalHandlerId;
}
Required Methods§
fn child_added(&self, child: &impl IsA<Object>, name: &str)
fn child_removed(&self, child: &impl IsA<Object>, name: &str)
fn child_by_index(&self, index: u32) -> Option<Object>
fn child_by_name(&self, name: &str) -> Option<Object>
sourcefn child_by_name_recurse(&self, name: &str) -> Option<Object>
fn child_by_name_recurse(&self, name: &str) -> Option<Object>
Available on crate feature
v1_22
only.