Le 25/6/2008, "Adiv" <[EMAIL PROTECTED]> a écrit:

>Hmm. I know that two signals are emitted when the exit button is pressed, 
>"delete_event" and "destroy". You could connect the window to both, defining 
>the handlers as simply returning True. Theoretically (at least in my theory) 
>that should just stop the signal there and stop the exit process.

It does not work... More, once I have closed that dialog, closing the
main window gives that message:

RuntimeError: called outside of a mainloop
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to