Tkinter allows you to customize the cursor icon while hovering over a widget. This behavior is sometimes enabled by default, like the Entry widget that displays an I-beam pointer.
Changing the cursor icon
Getting ready
The following application shows how to display a busy cursor while it is performing a long-running operation, and a cursor with a question mark, typically used in help menus:
How to do it...
The mouse pointer icon can be changed using the cursor option. In our example, we used the watch value to display the native busy cursor and question_arrow to display...