Updating widgets in kivy (python)
问题 Can anyone explain to me how you update widgets in kivy? I have a code sample here: class Game(Widget): def __init__(self, **kwargs): super(Game, self).__init__(**kwargs) with self.canvas: Color(*sky_color) Rectangle(pos=(0, 0), size=self.size) with self.canvas: Color(*grass_color) Rectangle(pos=(0,0), size=(800,75)) with self.canvas: Label(text='Funky Chicken', font_size='50sp', pos=(360, 400)) with self.canvas: Button(text='Play', font_size='20') class FunkyChickenApp(App): def build(self):