Trait gstreamer_base::prelude::ChildProxyExt [−][src]
pub trait ChildProxyExt {
fn child_added<P>(&self, child: &P, name: &str)
where
P: IsA<Object>;
fn child_removed<P>(&self, child: &P, name: &str)
where
P: IsA<Object>;
fn get_child_by_index(&self, index: u32) -> Option<Object>;
fn get_child_by_name(&self, name: &str) -> Option<Object>;
fn get_children_count(&self) -> u32;
fn connect_child_added<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Send + Sync + Fn(&Self, &Object, &str);
fn connect_child_removed<F>(&self, f: F) -> SignalHandlerId
where
F: 'static + Send + Sync + Fn(&Self, &Object, &str);
}Required Methods
fn child_added<P>(&self, child: &P, name: &str) where
P: IsA<Object>,
P: IsA<Object>,
fn child_removed<P>(&self, child: &P, name: &str) where
P: IsA<Object>,
P: IsA<Object>,
fn get_child_by_index(&self, index: u32) -> Option<Object>
fn get_child_by_name(&self, name: &str) -> Option<Object>
fn get_children_count(&self) -> u32
fn connect_child_added<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self, &Object, &str),
F: 'static + Send + Sync + Fn(&Self, &Object, &str),
fn connect_child_removed<F>(&self, f: F) -> SignalHandlerId where
F: 'static + Send + Sync + Fn(&Self, &Object, &str),
F: 'static + Send + Sync + Fn(&Self, &Object, &str),
Implementors
impl<O> ChildProxyExt for O where
O: IsA<ChildProxy> + IsA<Object>,