Searched refs:cwidth (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Demo/turtle/ |
D | turtleDemo.py | 105 cwidth = self._canvas.winfo_width() 107 self._canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth)
|
/external/python/cpython3/Lib/turtledemo/ |
D | __main__.py | 199 cwidth = self._canvas.winfo_width() 201 self._canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth)
|
/external/python/cpython2/Lib/lib-tk/ |
D | turtle.py | 405 cwidth = self._canvas.winfo_width() 407 self._canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth) 409 if cwidth < self.canvwidth or cheight < self.canvheight: 460 def setupcanvas(self, width, height, cwidth, cheight): argument 461 self._canvas = ScrolledCanvas(self, width, height, cwidth, cheight)
|
/external/python/cpython3/Lib/ |
D | turtle.py | 381 cwidth = self._canvas.winfo_width() 383 self._canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth) 385 if cwidth < self.canvwidth or cheight < self.canvheight: 436 def setupcanvas(self, width, height, cwidth, cheight): argument 437 self._canvas = ScrolledCanvas(self, width, height, cwidth, cheight)
|