Package horizons :: Package util :: Module pychananimation :: Class PychanAnimation
[hide private]
[frames] | no frames]

Class PychanAnimation

source code

Displays images in short succession in a pychan icon.

Instance Methods [hide private]
 
__init__(self, icon, directory) source code
 
start(self, interval, loops)
Starts the animation.
source code
 
stop(self)
Stops the animation (leaves current image)
source code
 
_next(self) source code
Method Details [hide private]

start(self, interval, loops)

source code 

Starts the animation.

Parameters:
  • interval - seconds
  • loops - number of loops or -1 for infininte