I am trying to get a tkinter UI to allow me to do two things.
- When I right click in a Treeview widget and my mouse pointer is over an item I would like the item to be selected as if the user clicked on it
- When I right click on the blank space in the Treeview I would like to clear the current selection.
How do you determine which item your mouse cursor is over on a widget in tkinter.
Thanks for the help in advance.