79430575

Date: 2025-02-11 16:00:34
Score: 2.5
Natty:
Report link

@Andereoo, commented saying Do you know of any ways to keep the cursor updated without showing the label?

Use frame.itemconfigure

Snippet:

def on_mouse_motion(event):
    p = frame.create_text((event.x, event.y))
    if event.x > 200:
        frame2.config(cursor="xterm")         
        frame.itemconfigure(p, text=(event.x, event.y)) #<== Add this        
    else:
        frame2.config(cursor="crosshair")

Screenshot:

enter image description here

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
  • Ends in question mark (2):
  • User mentioned (1): @Andereoo
  • High reputation (-1):
Posted by: toyota Supra