Package libavg :: Module avg :: Class ParallelAnim

Class ParallelAnim


Animation that executes several child animations at the same time. The duration of the ParallelAnim is the maximum of the child's durations or maxAge, whatever is shorter.

Instance Methods
 
__init__(...)
Raises an exception This class cannot be instantiated from Python
 
start(...)

Inherited from unreachable.instance: __new__

Inherited from object: __delattr__, __getattribute__, __hash__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

    Inherited from Anim
 
abort(...)
Stops the animation.
 
isRunning(...)
Returns True if the animation is currently executing
 
setStartCallback(...)
Sets a python callable to be invoked when the animation starts.
 
setStopCallback(...)
Sets a python callable to invoke when the animation has finished running.
Properties

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

Raises an exception This class cannot be instantiated from Python

Parameters:
  • anims - A list of child animations.
  • onStart - Python callable to invoke when the animation starts.
  • onStop - Python callable to invoke when the animation has finished running, either because it's run the allotted time or because abort has been called.
  • maxAge - The maximum duration of the animation in milliseconds.
Overrides: object.__init__