You'll probably find that connecting to "delete_event" has the
desired result. I don't know why "destroy_event" doesn't work.
BTW if you do decide to connect to "delete_event" you'll need an extra
argument:
def _kill(window, event, obj):
print "Aaagh!"
gtk.mainquit()
Also BTW thanks for showing how to use pdb.set_trace(). I don't
use pdb much, and have been looking for a function which does what
set_trace() seems to do.
On Mon, 14 Feb 2000, you wrote:
> OK, folks...how come this doesn't report a "destroy_event"? What am I
> doing wrong?
> [code snipped]
--
Mitch Chapman
[EMAIL PROTECTED]
To unsubscribe: echo "unsubscribe" | mail [EMAIL PROTECTED]