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

Method copy

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

Return a new PhotoImage with the same image as this widget.

(self)

Source from the content-addressed store, hash-verified

4163 # XXX copy -from, -to, ...?
4164
4165 def copy(self):
4166 """Return a new PhotoImage with the same image as this widget."""
4167 destImage = PhotoImage(master=self.tk)
4168 self.tk.call(destImage, 'copy', self.name)
4169 return destImage
4170
4171 def zoom(self, x, y=''):
4172 """Return a new PhotoImage with the same image as this widget

Callers

nothing calls this directly

Calls 2

PhotoImageClass · 0.85
callMethod · 0.80

Tested by

no test coverage detected