Trait Timeline Element ExtManual
Source pub trait TimelineElementExtManual: IsA<TimelineElement> + 'static {
// Provided methods
fn set_child_property(
&self,
property_name: &str,
value: impl Into<Value>,
) -> Result<(), BoolError> { ... }
fn set_child_property_by_pspec(
&self,
pspec: impl AsRef<ParamSpec>,
value: impl Into<Value>,
) { ... }
}Provided Methods§
Sourcefn set_child_property(
&self,
property_name: &str,
value: impl Into<Value>,
) -> Result<(), BoolError>
fn set_child_property( &self, property_name: &str, value: impl Into<Value>, ) -> Result<(), BoolError>
See TimelineElementExt::set_child_property_full(), which also gives an
error.
Note that ges_timeline_element_set_child_properties() may be more
convenient for C programming.
§property_name
The name of the child property to set
§value
The value to set the property to
§Returns
true if the property was found and set.
Sourcefn set_child_property_by_pspec(
&self,
pspec: impl AsRef<ParamSpec>,
value: impl Into<Value>,
)
fn set_child_property_by_pspec( &self, pspec: impl AsRef<ParamSpec>, value: impl Into<Value>, )
Sets the property of a child of the element. Specifically, the property
corresponding to the pspec used in
TimelineElementExt::add_child_property() is set to value.
§pspec
The specification of a registered child 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", so this trait is not object safe.