Hi all,
Let me setup my question real quick...... If I have four python classes and within each of these classes I have a different GUI window being created. Meaning I have all the widget creation and functionality of each GUI within their respective class. Then I import these four classes into another class making a instance of each imported class and calling the gtk main loop to start everything.

So far so good. But how do you handle delete-events when working with multiple windows from different classes? Is there a default way you're suppose to handle things? For example, how can I have all the windows close and the main loop quit by closing one of the imported windows? Right now when I close a window, just that window closes but the rest of the program keeps going.

Thanks in advance for any help,
Chris
_______________________________________________
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