begin_animation


Description:

[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.2" ) ]
public virtual unowned Alpha begin_animation (uint duration, ulong mode)

Warning: begin_animation is deprecated since 1.12.

Begins an animation of duration milliseconds, using the provided easing mode

The easing mode can be specified either as a AnimationMode or as a logical id returned by register_func

The result of this function depends on the this implementation

Parameters:

this

a LayoutManager

duration

the duration of the animation, in milliseconds

mode

the easing mode of the animation

Returns:

The Alpha created by the layout manager; the returned instance is owned by the layout manager and should not be unreferenced