I am using the tkinter Treeview
widget to show a database. The command when clicking on one of the headings is used for sorting the table based on the clicked column.
Additionally I want a tooltip box show up as soon as I hover (or right click) over one of the headings. The tooltips aren't a problem for other widgets but the heading of a treeview isn't a full widget of course.
How can I bind any action to the headings except for the usual command?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…