Searched refs:canvheight (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Lib/lib-tk/ |
D | turtle.py | 360 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/ |
D | turtleDemo.py | 108 self._canvas.yview_moveto(0.5*(self.canvheight-cheight)/self.canvheight) 131 self.canvheight = 800 133 root, 800, 600, self.canvwidth, self.canvheight)
|
D | turtle.cfg | 4 canvheight = 900
|
/external/python/cpython2/Tools/pynche/ |
D | ListViewer.py | 94 canvheight = (row-1)*20 + 25 95 canvas.config(scrollregion=(0, 0, 150, canvheight))
|
/external/python/cpython2/Doc/library/ |
D | turtle.rst | 1524 .. function:: screensize(canvwidth=None, canvheight=None, bg=None) 1527 :param canvheight: positive integer, new height of canvas in pixels 2106 canvheight = 300
|