Skip to content
Advertisement

Slide show program, event processing

I need the images to change if the cursor is inside the window without moving, but I managed to make the image changes only if the cursor is moving inside the window, how can I change the code?

JavaScript

Advertisement

Answer

You can calculate cursor position in loop and show image if it’s located within tkinter window:

JavaScript
User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement