winfo x

winfo x window

Returns a number giving the x-coordinate, in windows parent, of the upper-left corner of windows border (or window if it has no border).