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

Method delta

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

3591 return self.tk.call(self._w, 'activate', index) or None
3592
3593 def delta(self, deltax, deltay):
3594 """Return the fractional change of the scrollbar setting if it
3595 would be moved by DELTAX or DELTAY pixels."""
3596 return self.tk.getdouble(
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

Callers

nothing calls this directly

Calls 2

getdoubleMethod · 0.80
callMethod · 0.80

Tested by

no test coverage detected