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

Part of kiwi.ui.gadgets

I am a helper class to draw the fading effect of the background Call my methods start() and stop() to control the fading.

Function__init__Undocumented
Function_merge_colors

Change the background of widget from src_color to dst_color

Function_start_mergingUndocumented
Functionstart

Schedules a start of the countdown.

Functionstop

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.

def stop(self):

Stops the fadeout and restores the background color