[Tutor] Tkinter: checking a Text widget for contents/changes (original) (raw)
Marv Boyes marvboyes at att.net
Sat Jul 17 01:50:51 CEST 2004
- Previous message: [Tutor] Re: CGI
- Next message: [Tutor] Tkinter: checking a Text widget for contents/changes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hello, everyone. I'm hoping I can get an answer to this without having to burden all of you with a lengthy code-paste. :)
I'm working on a simple text-editing application, and would like to include a function to ask the user to save changes before quitting. Can anyone describe a method for checking to see if anything has been entered into a Text widget's buffer (or, ideally, to check for changes since the last save)? I'm pretty sure I already have all the other pieces I need to make it work.
Any guidance would be greatly appreciated; thanks very much in advance.
Marv
-- Help in the research to fight devastating diseases like Huntington's, Parkinson's, and Alzheimer's-- donate your computer's leisure time to Folding at Home. http://www.stanford.edu/group/pandegroup/folding/
- Previous message: [Tutor] Re: CGI
- Next message: [Tutor] Tkinter: checking a Text widget for contents/changes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]