MCPcopy Index your code
hub / github.com/python/cpython / delta

Method delta

Lib/tkinter/__init__.py:3804–3808  ·  view source on GitHub ↗

Return the fractional change of the scrollbar setting if it would be moved by DELTAX or DELTAY pixels.

(self, deltax, deltay)

Source from the content-addressed store, hash-verified

3802 return self.tk.call(self._w, 'activate', index) or None
3803
3804 def delta(self, deltax, deltay):
3805 """Return the fractional change of the scrollbar setting if it
3806 would be moved by DELTAX or DELTAY pixels."""
3807 return self.tk.getdouble(
3808 self.tk.call(self._w, 'delta', deltax, deltay))
3809
3810 def fraction(self, x, y):
3811 """Return the fractional value which corresponds to a slider

Callers

nothing calls this directly

Calls 2

getdoubleMethod · 0.80
callMethod · 0.45

Tested by

no test coverage detected