Tkinter.Scrollbar.fraction

Scrollbar.fraction(x, y)[source]

Return the fractional value which corresponds to a slider position of X,Y.