From matatk at gmail.com Sun Jun 15 22:33:50 2014 From: matatk at gmail.com (Matthew Tylee Atkinson) Date: Sun, 15 Jun 2014 21:33:50 +0100 Subject: [Pygui] Python process doesn't exit Message-ID: 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: From matatk at gmail.com Sun Jun 15 22:37:43 2014 From: matatk at gmail.com (Matthew Tylee Atkinson) Date: Sun, 15 Jun 2014 21:37:43 +0100 Subject: [Pygui] Help with development? Message-ID: Sorry if I'm missing something obvious, but I've not actually seen a hosted in-development PyGUI codebase anywhere. Does such a thing exist? I'd quite like to fix the GControl bug on Windows and hopefully help with the one I may be encountering with respect to application process existing on Windows -- would this be of use to you? Perhaps, if no publicly-addressable repository exists, you would be willing to put the code on GitHub so that we can make some pull requests? Thanks again for this awesome library. I know what it's like to have "real life" make finding time to work on this stuff difficult -- and I'd be happy to do what I can to help keep this going. (I'm not an expert on platform internals, but I am familiar with GitHub etc. and I enjoy using PyGUI! :-)) best regards, Matthew -------------- next part -------------- An HTML attachment was scrubbed... URL: