from kivy.app import App from kivy.uix.button import Button class TesztApp(App): def build(self): btn = Button() return btn def csinal(self): self.title ='valami' TesztApp().run()