I'm having the same problem as outlined in [1] -- however I am importing everything explicitly from GUI and I'm really not sure why my app process is not exiting. The following code will not actually exit Python (I may well be doing something silly...)
--- from GUI import Window, Button, application, Task class LauncherWindow(Window): def __init__(self): super(LauncherWindow, self).__init__() self.auto_position = False self.position = (200, 250) self.size = (140, 170) self.resizable = 0 self.zoomable = 0 self.add(Button( position = (10, 140), size = (120, 25), title = "Quit Launcher", action = self.close_cmd )) def close_cmd(self): print 'closing...' application().quit_cmd() if __name__ == '__main__': app = application() launcher = LauncherWindow() launcher.show() app.run() print 'app closed' --- Is there something I'm noticeably doing wrong? (Windows 8.1, Python 2.7.x) best regards, Matthew [1] https://mail.python.org/pipermail/pygui/2011-June/000193.html
_______________________________________________ Pygui mailing list [email protected] https://mail.python.org/mailman/listinfo/pygui
