k.u.g.FadeOut(gobject.GObject) : class documentation

Part of kiwi.ui.gadgets View In Hierarchy

I am a helper class to draw the fading effect of the background Call my methods start() and stop() to control the fading.
Method __init__ Undocumented
Method start Schedules a start of the countdown.
Method stop Stops the fadeout and restores the background color
Method _merge_colors Change the background of widget from src_color to dst_color
Method _start_merging Undocumented
def __init__(self, widget):
Undocumented
def _merge_colors(self, src_color, dst_color, steps=10):
Change the background of widget from src_color to dst_color in the number of steps specified
def _start_merging(self):
Undocumented
def start(self, color):
Schedules a start of the countdown.
Parameterscolorinitial background color
ReturnsTrue if we could start, False if was already in progress
def stop(self):
Stops the fadeout and restores the background color
API Documentation for Kiwi, generated by pydoctor at 2010-05-20 02:10:57.