Home
last modified time | relevance | path

Searched refs:canvheight (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/lib-tk/
Dturtle.py360 canvwidth=600, canvheight=500): argument
364 self.canvwidth, self.canvheight = canvwidth, canvheight
384 def reset(self, canvwidth=None, canvheight=None, bg = None): argument
388 if canvheight:
389 self.canvheight = canvheight
393 scrollregion=(-self.canvwidth//2, -self.canvheight//2,
394 self.canvwidth//2, self.canvheight//2))
397 self._canvas.yview_moveto(0.5*(self.canvheight- self.height + 30) /
398 self.canvheight)
408 self._canvas.yview_moveto(0.5*(self.canvheight-cheight)/self.canvheight)
[all …]
/external/python/cpython2/Demo/turtle/
DturtleDemo.py108 self._canvas.yview_moveto(0.5*(self.canvheight-cheight)/self.canvheight)
131 self.canvheight = 800
133 root, 800, 600, self.canvwidth, self.canvheight)
Dturtle.cfg4 canvheight = 900
/external/python/cpython2/Tools/pynche/
DListViewer.py94 canvheight = (row-1)*20 + 25
95 canvas.config(scrollregion=(0, 0, 150, canvheight))
/external/python/cpython2/Doc/library/
Dturtle.rst1524 .. function:: screensize(canvwidth=None, canvheight=None, bg=None)
1527 :param canvheight: positive integer, new height of canvas in pixels
2106 canvheight = 300