ttk.Treeview.winfo_pointerx

Treeview.winfo_pointerx()

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