Return the x coordinate, in the root window of the screen, of the upper-left corner of the widget’s border (or of the widget itself if it has no border).
tkinter/Misc.winfo_rootx
Misc.winfo_rootx