Use self.txt1, self.lbl1 etc.. class MyApp(App): # layout def build(self): layout = BoxLayout(padding=10, orientation='vertical') btn1 = Button(text="OK") ...
確定! 回上一頁