Home
last modified time | relevance | path

Searched refs:canvheight (Results 1 – 10 of 10) 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/cpython3/Lib/
Dturtle.py336 canvwidth=600, canvheight=500): argument
340 self.canvwidth, self.canvheight = canvwidth, canvheight
360 def reset(self, canvwidth=None, canvheight=None, bg = None): argument
364 if canvheight:
365 self.canvheight = canvheight
369 scrollregion=(-self.canvwidth//2, -self.canvheight//2,
370 self.canvwidth//2, self.canvheight//2))
373 self._canvas.yview_moveto(0.5*(self.canvheight- self.height + 30) /
374 self.canvheight)
384 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/cpython3/Lib/turtledemo/
D__main__.py202 self._canvas.yview_moveto(0.5*(self.canvheight-cheight)/self.canvheight)
235 self.canvheight = 800
237 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/cpython3/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
/external/python/cpython3/Doc/library/
Dturtle.rst1581 .. function:: screensize(canvwidth=None, canvheight=None, bg=None)
1584 :param canvheight: positive integer, new height of canvas in pixels
2232 canvheight = 300