MCPcopy Index your code
hub / github.com/RustPython/RustPython / fraction

Method fraction

Lib/tkinter/__init__.py:3728–3731  ·  view source on GitHub ↗

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

(self, x, y)

Source from the content-addressed store, hash-verified

3726 self.tk.call(self._w, 'delta', deltax, deltay))
3727
3728 def fraction(self, x, y):
3729 """Return the fractional value which corresponds to a slider
3730 position of X,Y."""
3731 return self.tk.getdouble(self.tk.call(self._w, 'fraction', x, y))
3732
3733 def identify(self, x, y):
3734 """Return the element under position X,Y as one of

Callers

nothing calls this directly

Calls 2

getdoubleMethod · 0.80
callMethod · 0.45

Tested by

no test coverage detected