Skip to main content

ContainerExtManual

Trait ContainerExtManual 

Source
pub trait ContainerExtManual:
    IsA<Container>
    + Sealed
    + 'static {
    // Provided methods
    fn child_property_value(
        &self,
        child: &impl IsA<Widget>,
        property_name: &str,
    ) -> Value { ... }
    fn child_property<V: for<'b> FromValue<'b> + 'static>(
        &self,
        child: &impl IsA<Widget>,
        property_name: &str,
    ) -> V { ... }
    fn child_set_property(
        &self,
        child: &impl IsA<Widget>,
        property_name: &str,
        value: &dyn ToValue,
    ) { ... }
}

Provided Methods§

Source

fn child_property_value( &self, child: &impl IsA<Widget>, property_name: &str, ) -> Value

Source

fn child_property<V: for<'b> FromValue<'b> + 'static>( &self, child: &impl IsA<Widget>, property_name: &str, ) -> V

Source

fn child_set_property( &self, child: &impl IsA<Widget>, property_name: &str, value: &dyn ToValue, )

Sets a child property for child and self.

§child

a widget which is a child of self

§property_name

the name of the property to set

§value

the value to set the property to

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§