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

From: Chris Lord chris at openedhand.com
Date: Tue Feb 19 18:04:02 EET 2008
On Tue, 2008-02-19 at 09:49 -0600, Darren Enns wrote:
> I am trying to convert my command-line Python program into a 
> PyGTK/Hildonized version for my Nokia N800.
> 
> I am *very new* at doing this, so the best that I can do is look for 
> examples that other people have written, and this is what I have been 
> using for my 'child' window, but it does not work -- since when I close 
> the window my entire application ends:
> 
[snip]
>        window2.connect("destroy", gtk.main_quit)
[snip]

Get rid of that line :)

--Chris



More information about the maemo-developers mailing list