

def add_widget(self, *largs):
    canvas = self.canvas
    self.canvas = self.fbo
    ret = super(FboFloatLayout, self).add_widget(*largs)
    self.canvas = canvas
    return ret

dataset/ETHPy150Open kivy/kivy/examples/canvas/fbo_canvas.py FboFloatLayout.add_widget/original