Hi, I can enable/disable an undo button for a Text widget depending on Text.edit_modified(); i.e., if it is modified then I can safely call undo.
But what I'd really like to do is just check the undo *and redo* stacks to see whether they are empty and enable/disable based on that. Is this possible? Thanks! -- Mark Summerfield, Qtrac Ltd, www.qtrac.eu C++, Python, Qt, PyQt - training and consultancy "Rapid GUI Programming with Python and Qt" - ISBN 0132354187 http://www.qtrac.eu/pyqtbook.html _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss