Searched refs:canvwidth (Results 1 – 8 of 8) 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 386 if canvwidth: 387 self.canvwidth = canvwidth 393 scrollregion=(-self.canvwidth//2, -self.canvheight//2, 394 self.canvwidth//2, self.canvheight//2)) 395 self._canvas.xview_moveto(0.5*(self.canvwidth - self.width + 30) / 396 self.canvwidth) 407 self._canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth) [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 362 if canvwidth: 363 self.canvwidth = canvwidth 369 scrollregion=(-self.canvwidth//2, -self.canvheight//2, 370 self.canvwidth//2, self.canvheight//2)) 371 self._canvas.xview_moveto(0.5*(self.canvwidth - self.width + 30) / 372 self.canvwidth) 383 self._canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth) [all …]
|
/external/python/cpython2/Demo/turtle/ |
D | turtleDemo.py | 107 self._canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth) 130 self.canvwidth = 1000 133 root, 800, 600, self.canvwidth, self.canvheight)
|
D | turtle.cfg | 3 canvwidth = 1200
|
/external/python/cpython3/Lib/turtledemo/ |
D | __main__.py | 201 self._canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth) 234 self.canvwidth = 1000 237 root, 800, 600, self.canvwidth, self.canvheight)
|
D | turtle.cfg | 3 canvwidth = 1200
|
/external/python/cpython2/Doc/library/ |
D | turtle.rst | 1524 .. function:: screensize(canvwidth=None, canvheight=None, bg=None) 1526 :param canvwidth: positive integer, new width of canvas in pixels 2105 canvwidth = 400
|
/external/python/cpython3/Doc/library/ |
D | turtle.rst | 1581 .. function:: screensize(canvwidth=None, canvheight=None, bg=None) 1583 :param canvwidth: positive integer, new width of canvas in pixels 2231 canvwidth = 400
|