Trait gstreamer::auto::child_proxy::ChildProxyExt

source ·
pub trait ChildProxyExt:
    IsA<ChildProxy>
    + Sealed
    + 'static {
    // Provided 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 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 { ... }
}

Provided Methods§

source

fn child_added(&self, child: &impl IsA<Object>, name: &str)

source

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

source

fn child_by_index(&self, index: u32) -> Option<Object>

source

fn child_by_name(&self, name: &str) -> Option<Object>

source

fn children_count(&self) -> u32

source

fn connect_child_added<F: Fn(&Self, &Object, &str) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

source

fn connect_child_removed<F: Fn(&Self, &Object, &str) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Object Safety§

This trait is not object safe.

Implementors§