This is an unofficial mirror of Tkinter reference documentation (based on Python 2.7 and Tk 8.5) created by the late John Shipman.
It was last updated in 2013 and is unmaintained. [More info]
Certain state changes within a Treeview
widget
generate virtual events that you can use to respond to these
changes; see Section 54.8, “Virtual events”.
Whenever there is a change in the selection, either
by items becoming selected or becoming unselected,
the widget generates a “<<TreeviewSelect>>
” event.
Whenever an item is opened,
the widget generates a “<<TreeviewOpen>>
” event.
Whenever an item is closed, the widget generates a
“<<TreeviewClose>>
” event.