Tix.Text.winfo_pointerx

Text.winfo_pointerx()

Return the x coordinate of the pointer on the root window.