Custom buttons with mouseover highlighting
"Simulated Buttons" with Mouseover Highlighting
tkinter has an inconsistent behavior with mouseover highlighting. On Windows it doesn't highlight, on Mac/Linux, it does.
This program takes a different approach by using Text
elemtns instead of Button
elements.
There is no special tkinter code needed. It was very helpful to use tuples for keys. This made "parsing" of the event unnecessary. If the key was a simple stgring, then you would need to parse the string to get the moseu enter/leave events..