Searched refs:canvheight (Results 1 – 5 of 5) sorted by relevance
/third_party/python/Lib/ |
D | turtle.py | 337 canvwidth=600, canvheight=500): argument 341 self.canvwidth, self.canvheight = canvwidth, canvheight 361 def reset(self, canvwidth=None, canvheight=None, bg = None): argument 365 if canvheight: 366 self.canvheight = canvheight 370 scrollregion=(-self.canvwidth//2, -self.canvheight//2, 371 self.canvwidth//2, self.canvheight//2)) 374 self._canvas.yview_moveto(0.5*(self.canvheight- self.height + 30) / 375 self.canvheight) 385 self._canvas.yview_moveto(0.5*(self.canvheight-cheight)/self.canvheight) [all …]
|
/third_party/python/Lib/turtledemo/ |
D | turtle.cfg | 4 canvheight = 900
|
D | __main__.py | 209 self._canvas.yview_moveto(0.5*(self.canvheight-cheight)/self.canvheight) 242 self.canvheight = 800 244 root, 800, 600, self.canvwidth, self.canvheight)
|
/third_party/python/Tools/pynche/ |
D | ListViewer.py | 94 canvheight = (row-1)*20 + 25 95 canvas.config(scrollregion=(0, 0, 150, canvheight))
|
/third_party/python/Doc/library/ |
D | turtle.rst | 1657 .. function:: screensize(canvwidth=None, canvheight=None, bg=None) 1660 :param canvheight: positive integer, new height of canvas in pixels 2325 canvheight = 300
|