I’m using a tkinter treeview object. I currently bind the TreeviewSelect event to a function that should display some data related to the selection.
Unfortunately, this event also fires when a tree branch is expanded or contracted, and it changes the selection.
Is there a way to prevent the selection from changing when expanding/contracting a tree branch? Is there an event that only fires when the selection changes?