I have set up a MessageDialog to display an error message, and want my
app to quit when its close button is pressed. i use this code:

resp = self.dialog.run()
if resp == gtk.RESPONSE_CLOSE:
        gtk.main_quit()
        sys.exit()
However, my app just crashes, what am i doing wrong?

Keir Lawson

-- 

_______________________________________________
pygtk mailing list   pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to