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

Method nearest

tools/python-3.11.9-amd64/Lib/tkinter/tix.py:1869–1871  ·  view source on GitHub ↗

Return coordinate of cell nearest pixel coordinate (x,y)

(self, x, y)

Source from the content-addressed store, hash-verified

1867 self.tk.call(self, 'move', 'row', from_, to, offset)
1868
1869 def nearest(self, x, y):
1870 "Return coordinate of cell nearest pixel coordinate (x,y)"
1871 return self._getints(self.tk.call(self, 'nearest', x, y))
1872
1873 # def selection adjust
1874 # def selection clear

Callers 1

keypress_eventMethod · 0.45

Calls 2

_getintsMethod · 0.80
callMethod · 0.80

Tested by

no test coverage detected