Python Tkinter - How to insert text at the beginning of the text box?
I am using Python 2.7.5 and Tkinter. I am writing status messages into a
text widget. To insert I am using text_widget.insert(INSERT, 'my status
here.\n'). This works fine. However, each status is added after the
previous status. How do I insert new lines at the top of the text widget
so that the most recent status is at the top, while keeping the previous
status messages below?
Thanks.
No comments:
Post a Comment