Searched refs:canvwidth (Results 1 – 4 of 4) 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 363 if canvwidth: 364 self.canvwidth = canvwidth 370 scrollregion=(-self.canvwidth//2, -self.canvheight//2, 371 self.canvwidth//2, self.canvheight//2)) 372 self._canvas.xview_moveto(0.5*(self.canvwidth - self.width + 30) / 373 self.canvwidth) 384 self._canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth) [all …]
|
/third_party/python/Lib/turtledemo/ |
D | turtle.cfg | 3 canvwidth = 1200
|
D | __main__.py | 208 self._canvas.xview_moveto(0.5*(self.canvwidth-cwidth)/self.canvwidth) 241 self.canvwidth = 1000 244 root, 800, 600, self.canvwidth, self.canvheight)
|
/third_party/python/Doc/library/ |
D | turtle.rst | 1657 .. function:: screensize(canvwidth=None, canvheight=None, bg=None) 1659 :param canvwidth: positive integer, new width of canvas in pixels 2324 canvwidth = 400
|