winfo y

winfo y window

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