[maemo-developers] PyGTK/Hildon: CLOSING CHILD WINDOW PROPERLY?

From: Darren Enns darethehair at gmail.com
Date: Tue Feb 19 18:05:19 EET 2008
Daniel Martin Yerga wrote:
> Try changing the line:
> window2.connect("destroy", gtk.main_quit)
>
> with:
> window2.connect("destroy", window2.destroy)
>
> You have more information about gtk.main_quit function in:
> http://pygtk.org/docs/pygtk/gtk-functions.html#function-gtk--main-quit
>
>   
Yippee doodle! :)  Thanks for that!

I had been on the page that you referenced, convinced that I should not 
really be doing a 'gtk.main_quit', but I didn't see any syntax/examples 
like 'window.destroy' as you mentioned.

I would really like more tutorials written at my level of understanding :)

Dare

More information about the maemo-developers mailing list