[maemo-developers] PyGTK/Hildon: CLOSING CHILD WINDOW PROPERLY?
From: Darren Enns darethehair at gmail.comDate: Tue Feb 19 18:05:19 EET 2008
- Previous message: PyGTK/Hildon: CLOSING CHILD WINDOW PROPERLY?
- Next message: PyGTK/Hildon: CLOSING CHILD WINDOW PROPERLY?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: PyGTK/Hildon: CLOSING CHILD WINDOW PROPERLY?
- Next message: PyGTK/Hildon: CLOSING CHILD WINDOW PROPERLY?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
