Home
last modified time | relevance | path

Searched refs:cwidth (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Demo/turtle/
DturtleDemo.py105 cwidth = self._canvas.winfo_width()
107 self._canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth)
/external/python/cpython3/Lib/turtledemo/
D__main__.py199 cwidth = self._canvas.winfo_width()
201 self._canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth)
/external/python/cpython2/Lib/lib-tk/
Dturtle.py405 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/
Dturtle.py381 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)