[][src]Trait gstreamer::ChildProxyExt

pub trait ChildProxyExt: 'static {
    fn child_added<P: IsA<Object>>(&self, child: &P, name: &str);
fn child_removed<P: IsA<Object>>(&self, child: &P, name: &str);
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: 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<P: IsA<Object>>(&self, child: &P, name: &str)

fn child_removed<P: IsA<Object>>(&self, child: &P, name: &str)

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: 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

Loading content...

Implementors

impl<O: IsA<ChildProxy>> ChildProxyExt for O[src]

Loading content...