I've used Glade quite a bit for a number of applications now, usually
directly in C.

I've now been exploring LibGlade in Python - very nice. 

But how do I cleanly exit when I exit the application through the
window manager delete_event? All that happens is that the window
disappears but the application is still running? If I add a Quit
button or Quit menu item and use the gtk.mainquit callback for them
then the exit works just fine.  But I can't seem to find the right
information on how to handle the delete_event. Under C I simply
connect gtk_main_quit to the delete_event.

If it matters I have GNOME support enabled, but with a straight GTK+
window I also get the same behaviour.

Cheers,
Graham

_______________________________________________
Glade-devel maillist  -  [EMAIL PROTECTED]
http://lists.helixcode.com/mailman/listinfo/glade-devel

Reply via email to