Jan-30-2018, 11:12 PM
You could perhaps bind the Control-v event
from tkinter import * def foo(event): print('foo() was called with', event) root = Tk() T = Text(root, height=10, width=30) T.pack() T.bind('<Control-v>', foo) T.insert(END, "Just a text Widget\nwith 2 lines\n") mainloop()