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

Method get

Lib/tkinter/__init__.py:4532–4534  ·  view source on GitHub ↗

Return the color (red, green, blue) of the pixel at X,Y.

(self, x, y)

Source from the content-addressed store, hash-verified

4530 self.tk.call(self.name, 'copy', sourceImage, *options)
4531
4532 def get(self, x, y):
4533 """Return the color (red, green, blue) of the pixel at X,Y."""
4534 return self.tk.call(self.name, 'get', x, y)
4535
4536 def put(self, data, to=None):
4537 """Put row formatted colors to image starting from

Callers 4

test_copy_replaceMethod · 0.95
test_readMethod · 0.95
test_writeMethod · 0.95
test_dataMethod · 0.95

Calls 1

callMethod · 0.45

Tested by 4

test_copy_replaceMethod · 0.76
test_readMethod · 0.76
test_writeMethod · 0.76
test_dataMethod · 0.76