Complete the code in this program that responds to moving a mouse over a message box.


from tkinter import *

def movingHandler(event):
print("Location: (", event.x, "," , event.y, ")")
return

myWindow = Tk()
message = "Hello."
eventArea = Message(myWindow, text = message)
eventArea.bind('<_______>',movingHandler)
eventArea.pack()
eventArea.mainloop()

Answer choices for the blank:
1. Button-3
2. Button-1
3. Moving
4. Motion

Respuesta :

Code segments are extractions from a more complete program.

The code that completes the program is (4) Motion

How to complete the code

From the question, we understand that the program responds when the mouse is moved over a message box.

This means that, the message box reacts to mouse movement or motion on it.

Hence, the code that completes the program is (4) Motion

Read more about code segments at:

https://brainly.com/question/22654163

Answer:

motion

Explanation: