Colin Brown wrote:

I am running PyGUI on OSX 10.5.8 but cannot figure out how to make the python application exit when I close the main PyGUI window?

One way would be to override the close_cmd() method of the
window and have it call quit_cmd() on the application.

Another way is to override zero_windows_allowed() on the
application and have it return False, although that's not
an official part of the API at the moment, so it might
change.

--
Greg
_______________________________________________
Pygui mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pygui

Reply via email to