Trait PropertyTransitionExt

Source
pub trait PropertyTransitionExt: 'static {
    // Required methods
    fn get_property_name(&self) -> Option<GString>;
    fn set_property_name(&self, property_name: Option<&str>);
    fn connect_property_property_name_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
}
Expand description

Trait containing all PropertyTransition methods.

§Implementors

KeyframeTransition, PropertyTransition

Required Methods§

Source

fn get_property_name(&self) -> Option<GString>

Retrieves the value of the PropertyTransition:property-name property.

§Returns

the name of the property being animated, or None if none is set. The returned string is owned by the self and it should not be freed.

Source

fn set_property_name(&self, property_name: Option<&str>)

Sets the PropertyTransition:property-name property of self.

§property_name

a property name

Source

fn connect_property_property_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId

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.

Implementors§