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

Method moveto

Lib/tkinter/__init__.py:3205–3212  ·  view source on GitHub ↗

Move the items given by TAGORID in the canvas coordinate space so that the first coordinate pair of the bottommost item with tag TAGORID is located at position (X,Y). X and Y may be the empty string, in which case the corresponding coordinate will be unchanged. All it

(self, tagOrId, x='', y='')

Source from the content-addressed store, hash-verified

3203 self.tk.call((self._w, 'move') + args)
3204
3205 def moveto(self, tagOrId, x='', y=''):
3206 """Move the items given by TAGORID in the canvas coordinate
3207 space so that the first coordinate pair of the bottommost
3208 item with tag TAGORID is located at position (X,Y).
3209 X and Y may be the empty string, in which case the
3210 corresponding coordinate will be unchanged. All items matching
3211 TAGORID remain in the same positions relative to each other."""
3212 self.tk.call(self._w, 'moveto', tagOrId, x, y)
3213
3214 def postscript(self, cnf={}, **kw):
3215 """Print the contents of the canvas to a postscript

Callers 1

test_movetoMethod · 0.80

Calls 1

callMethod · 0.45

Tested by 1

test_movetoMethod · 0.64