Package libavg :: Module avg :: Class WaitAnim

Class WaitAnim


Animation that simply does nothing for a specified duration. Useful in the context of StateAnims.

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:
  • duration - The length of the animation in milliseconds.
  • 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.
Overrides: object.__init__