Trait gtk::prelude::ContainerExtManual
source · [−]pub trait ContainerExtManual: 'static {
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
);
}
Required Methods
fn child_property<V: for<'b> FromValue<'b> + 'static>(
&self,
child: &impl IsA<Widget>,
property_name: &str
) -> V
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