Tkinter / TTK - Prevent string to ButtonPress conversion
问题 I'm writing a simple script that creates a ttk Treeview (that acts as a table) and, when you double-click it, it opens a file (with the path saved in the dictionary). However, when you double-click a row you'll get this error: Exception in Tkinter callback Traceback (most recent call last): File "C:\Users\Maicol\AppData\Local\Programs\Python\Python36\lib\tkinter\__init__.py", line 1699, in __call__ return self.func(*args) File "C:\Users\Maicol\Documents\Projects\App_WINDOWS\School_Life_Diary