Package libavg :: Module avg :: Class Anim

Class Anim


Base class for all animations.

Instance Methods
 
__init__(...)
Raises an exception This class cannot be instantiated from Python
 
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.

Inherited from unreachable.instance: __new__

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

Properties

Inherited from object: __class__

Method Details

__init__(...)
(Constructor)

 

Raises an exception This class cannot be instantiated from Python

Overrides: object.__init__

setStartCallback(...)

 

Sets a python callable to be invoked when the animation starts. Corresponds to the constructor parameter onStart

setStopCallback(...)

 

Sets a python callable to invoke when the animation has finished running. Corresponds to the constructor parameter onStop.