On Fri, Jul 11, 2008 at 11:55 AM, James K. Gruetzner <[EMAIL PROTECTED]> wrote:

> And that's as far as I can go in this:  I'm not graphics whiz, and, in fact,
> having reached somewhat beyond my skill level,  can't even figure out how to
> trace the mainloop call back further.

To make sure I capture all the events that can close the window, I
usually connect to the delete-event and the destroy-event.  Eg::

  win.connect("delete_event", gtk.mainquit)
  win.connect("destroy_event", gtk.mainquit)

where win is your gtk window.

JDH

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

Reply via email to