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