Return a new PhotoImage with the same image as this widget.
(self)
| 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 |
nothing calls this directly
no test coverage detected