# Class k.u.g.FadeOut(gobject.GObject):

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 | _merge_colors | Change the background of widget from src_color to dst_color
Method | _start_merging | Undocumented
Method | start | Schedules a start of the countdown.
Method | stop | Stops the fadeout and restores the background color

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.

Parameters | color | initial background color
Returns | True if we could start, False if was already in progress

def stop(self):
Stops the fadeout and restores the background color