MCPcopy Index your code
hub / github.com/RustPython/RustPython / put

Method put

Lib/tkinter/__init__.py:4413–4421  ·  view source on GitHub ↗

Put row formatted colors to image starting from position TO, e.g. image.put("{red green} {blue yellow}", to=(4,6))

(self, data, to=None)

Source from the content-addressed store, hash-verified

4411 return self.tk.call(self.name, 'get', x, y)
4412
4413 def put(self, data, to=None):
4414 """Put row formatted colors to image starting from
4415 position TO, e.g. image.put("{red green} {blue yellow}", to=(4,6))"""
4416 args = (self.name, 'put', data)
4417 if to:
4418 if to[0] == '-to':
4419 to = to[1:]
4420 args = args + ('-to',) + tuple(to)
4421 self.tk.call(args)
4422
4423 def read(self, filename, format=None, *, from_coords=None, to=None, shrink=False):
4424 """Reads image data from the file named FILENAME into the image.

Callers 15

basic_queue_testMethod · 0.45
queue_join_testMethod · 0.45
test_shrinking_queueMethod · 0.45
test_shutdown_emptyMethod · 0.45
_write_msg_threadMethod · 0.45
_putMethod · 0.45
_shutdown_getMethod · 0.45
_shutdown_putMethod · 0.45

Calls 1

callMethod · 0.45

Tested by 15

basic_queue_testMethod · 0.36
queue_join_testMethod · 0.36
test_shrinking_queueMethod · 0.36
test_shutdown_emptyMethod · 0.36
_write_msg_threadMethod · 0.36
_putMethod · 0.36
_shutdown_getMethod · 0.36
_shutdown_putMethod · 0.36