79500429

Date: 2025-03-11 10:39:12
Score: 1
Natty:
Report link

You can also simply do:

tree.tk.call('.'+tree_name, 'tag', 'add', tag_name, f'{{{iid}}}')

Note that to do this you also have to add the option name=tree_name when defining the Treeview object.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: GiAnMMV