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

Method find_enclosed

Lib/tkinter/__init__.py:3139–3142  ·  view source on GitHub ↗

Return all items in rectangle defined by X1,Y1,X2,Y2.

(self, x1, y1, x2, y2)

Source from the content-addressed store, hash-verified

3137 return self.find('closest', x, y, halo, start)
3138
3139 def find_enclosed(self, x1, y1, x2, y2):
3140 """Return all items in rectangle defined
3141 by X1,Y1,X2,Y2."""
3142 return self.find('enclosed', x1, y1, x2, y2)
3143
3144 def find_overlapping(self, x1, y1, x2, y2):
3145 """Return all items which overlap the rectangle

Callers

nothing calls this directly

Calls 1

findMethod · 0.95

Tested by

no test coverage detected