ok, its not in any of the tuts.. you need to respond to the sdl QUIT event
http://30bentham.homelinux.org/~dunk/python/soya-html/node19.html eg: import soya.sdlconst as sdl for event in soya.process_event(): if event[0] == sdl.QUIT: soya.IDLER.stop() # or sys.exit() have fun dunk On Tue, Jun 28, 2005 at 09:22:08AM -0400, Luis Alberto Zarrabeitia wrote: > Hello. This is the kind of question I should not ask on a mailing list > (it is very possible that it is answered in a doc or a tutorial), but > I'm in a hurry (I have less than a day left, and must finish some > other things...). I would really appreciate it if anyone could tell me > how to fix this: > > My soya window won't close when I click on the 'x'. I have mapped a > keyboard key to finish the application, but the most natural thing to > do does not work. I'm pretty sure the problem is either one line I did > not copy from the example, or one extra line I copied :D. > > If this message bothers you in any way (given the "rtfm" nature of the > question, it might), please disregard it. I apologize. > > Thanks, > Luis. > > _______________________________________________ > Soya-user mailing list > [email protected] > https://mail.gna.org/listinfo/soya-user > >
