Root is my tk window and I’m using it’s title to display debug data.
When I run this code the find_all keeps incrementing as if the items are still there but empty and not drawing on the screen. is there a way to get this to reset to 0?
def draw_file(empty = ""):
canvas.delete('all')
canvas.create_line(10,10, 100, 100,arrow=tk.LAST)
canvas.create_line(100,10, 100, 100,arrow=tk.LAST)
root.title(canvas.find_all())
Expecting to have the item count set back to 0