MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / fraction

Method fraction

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:3599–3602  ·  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

3597 self.tk.call(self._w, 'delta', deltax, deltay))
3598
3599 def fraction(self, x, y):
3600 """Return the fractional value which corresponds to a slider
3601 position of X,Y."""
3602 return self.tk.getdouble(self.tk.call(self._w, 'fraction', x, y))
3603
3604 def identify(self, x, y):
3605 """Return the element under position X,Y as one of

Callers

nothing calls this directly

Calls 2

getdoubleMethod · 0.80
callMethod · 0.80

Tested by

no test coverage detected