Trait gstreamer::prelude::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§
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
Object Safety§
This trait is not object safe.