Getting Tkinter Text contents before destruction
Bob Greschke
bob at greschke.com
Mon Feb 6 22:11:28 EST 2006
Hi!
I want to grab the contents of a Text widget when the frame it's on gets
destroyed. I tried TextWidget.bind("<Destroy>"... , but the widget is gone
before the call gets made, and I'd really hate to do something with the
function that gets called with TextWidgetsFrame.bind("<Destroy>", ..., since
that one function handles all of the frames in the program...or would that
even work?
How can I do this?
Thanks!
Bob
More information about the Python-list
mailing list