How close program in the wxPython?

Tian wangtianthu at gmail.com
Wed May 4 14:45:26 EDT 2005


I know how to capture window close event, but what i want to do is to
close window using commands. now i am simply using "sys.exit()" to
close the whole program. but it seems that window close events will are
be generated in this case. is there any function in wxpython that i can
use to close application window, yet generate the windows close event?




More information about the Python-list mailing list