How to remove icursor from Tkinter canvas text item?
问题 I'm following along with Effbot's Tkinter page here: http://effbot.org/zone/editing-canvas-text-items.htm The trouble I'm having is that after inserting the icursor, I can't seem to get it to go away! How do I stop editing altogether? As for examples, the one from the linked page will work: # File: canvas-editing-example-1.py # # editing canvas items # # fredrik lundh, december 1998 # # fredrik@pythonware.com # http://www.pythonware.com # from tkinter import * #Change to Tkinter to use python