[New-bugs-announce] [issue23831] tkinter canvas lacks of moveto method.

mps report at bugs.python.org
Tue Mar 31 22:15:32 CEST 2015


New submission from mps:

I apologize if it has already been reported but I was unable to find similar issue reported using "search".

Maybe just add:
    def moveto(self, tagOrId, xPos, yPos):
        """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 (xPos,yPos). 
        xPos and yPos may be the empty string, in which case the        
        corresponding coordinate will be unchanged. All items matching
        tagOrId remain in the same positions relative to each other.    
        This command returns an empty string. 
        """
        return self.tk.call(self._w, 'moveto', tagOrId, xPos, yPos)

----------
components: Tkinter
messages: 239745
nosy: mps
priority: normal
severity: normal
status: open
title: tkinter canvas lacks of moveto method.
type: enhancement
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23831>
_______________________________________


More information about the New-bugs-announce mailing list