animatev


Description:

[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.0" ) ]
public unowned Animation animatev (ulong mode, uint duration, string[] properties, Value[] values)

Warning: animatev is deprecated since 1.12.

Animates the given list of properties of this between the current value for each property and a new final value.

Note:

Use the implicit transition for animatable properties in Actor instead.

See save_easing_state, set_easing_mode, set_easing_duration, set_easing_delay, and restore_easing_state.

The animation has a definite duration and a speed given by the mode.

This is the vector-based variant of animate, useful for language bindings.

Unlike animate, this function will not allow you to specify "signal::" names and callbacks.

Parameters:

this

a Actor

mode

an animation mode logical id

duration

duration of the animation, in milliseconds

properties

a vector containing the property names to set

values

a vector containing the property values to set

n_properties

number of property names and values

Returns:

a Animation object. The object is owned by the Actor and should not be unreferenced with unref