Greg Ewing wrote:

> 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.

Thanks Greg, both these work. It was a little frustrating having to repeatedly kill my terminal session during development ;-)

Cheers
Colin

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

Reply via email to