import toga class SimpleWindow(toga.App): def startup(self): main_box = toga.Box() self.main_window = toga.MainWindow(title='Helló Világ') self.main_window.content = main_box self.main_window.show() def main(): return SimpleWindow()