Package kiwi :: Package ui :: Module gadgets :: Class FadeOut
[frames | no frames]

Type FadeOut

object --+
         |
        FadeOut


I am a helper class to draw the fading effect of the background Call my methods start() and stop() to control the fading.
Method Summary
  start(self, color)
Schedules a start of the countdown.
  stop(self)
Stops the fadeout and restores the background color

Class Variable Summary
int COMPLAIN_DELAY = 500                                                                   
str ERROR_COLOR = '#ffd5d5'
int MERGE_COLORS_DELAY = 100                                                                   

Method Details

start(self, color)

Schedules a start of the countdown.
Parameters:
color - initial background color
Returns:
True if we could start, False if was already in progress

stop(self)

Stops the fadeout and restores the background color

Class Variable Details

COMPLAIN_DELAY

Type:
int
Value:
500                                                                   

ERROR_COLOR

Type:
str
Value:
'#ffd5d5'                                                              

MERGE_COLORS_DELAY

Type:
int
Value:
100                                                                   

Generated by Epydoc 2.1 on Fri Sep 15 11:53:22 2006 http://epydoc.sf.net