[issue32328] ttk.Treeview: _tkinter.TclError: list element in quotes followed by "; " instead of space

Serhiy Storchaka report at bugs.python.org
Thu Mar 15 06:07:59 EDT 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

According to the documentation (https://www.tcl.tk/man/tcl/TkCmd/ttk_treeview.htm) the item option "values" is "The list of values associated with the item.", and the item option "tags" is "A list of tags associated with this item." Tcl's list corresponds Python's tuple (lists are also accepted in Python 3).

Change your example to:

    kw = {'values': ('" ";',), 'tags': ()}

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32328>
_______________________________________


More information about the Python-bugs-list mailing list