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

Method write

tools/python-3.11.9-amd64/Lib/tkinter/__init__.py:4206–4214  ·  view source on GitHub ↗

Write image to file FILENAME in FORMAT starting from position FROM_COORDS.

(self, filename, format=None, from_coords=None)

Source from the content-addressed store, hash-verified

4204 # XXX read
4205
4206 def write(self, filename, format=None, from_coords=None):
4207 """Write image to file FILENAME in FORMAT starting from
4208 position FROM_COORDS."""
4209 args = (self.name, 'write', filename)
4210 if format:
4211 args = args + ('-format', format)
4212 if from_coords:
4213 args = args + ('-from',) + tuple(from_coords)
4214 self.tk.call(args)
4215
4216 def transparency_get(self, x, y):
4217 """Return True if the pixel at x,y is transparent."""

Callers 4

test_writeMethod · 0.45
mainFunction · 0.45
displayMethod · 0.45
tickFunction · 0.45

Calls 2

tupleClass · 0.85
callMethod · 0.80

Tested by 1

test_writeMethod · 0.36