Searched refs:canvheight (Results 1 – 10 of 10) 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/cpython3/Lib/ |
D | turtle.py | 336 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/ |
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/cpython3/Lib/turtledemo/ |
D | __main__.py | 202 self._canvas.yview_moveto(0.5*(self.canvheight-cheight)/self.canvheight) 235 self.canvheight = 800 237 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/cpython3/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
|
/external/python/cpython3/Doc/library/ |
D | turtle.rst | 1581 .. function:: screensize(canvwidth=None, canvheight=None, bg=None) 1584 :param canvheight: positive integer, new height of canvas in pixels 2232 canvheight = 300
|