Для тех, кто хочет попробовать связывание:
def callback():
text.see(END)
text.edit_modified(0)
text.bind('<<Modified>>', callback)
Просто будь осторожен. Как указал @BryanOakley, виртуальное событие Modified вызывается только один раз, пока оно не будет сброшено. Рассмотрим ниже:
import Tkinter as tk
def showEnd(event):
text.see(tk.END)
text.edit_modified(0) #IMPORTANT - or <<Modified>> will not be called later.
if __name__ == '__main__':
root= tk.Tk()
text=tk.Text(root, wrap=tk.WORD, height=5)
text.insert(tk.END, "Can\nThis\nShow\nThe\nEnd\nor\nam\nI\nmissing\nsomething")
text.edit_modified(0) #IMPORTANT - or <<Modified>> will not be called later.
text.pack()
text.bind('<<Modified>>',showEnd)
button=tk.Button(text='Show End',command = lambda : text.see(tk.END))
button.pack()
root.mainloop()