PyDocs

Nav

Graphical user interfaces with Tk

screensize

turtle

function
  • screensize(canvwidth=None, canvheight=None, bg=None)
If no arguments are given, return current (canvaswidth, canvasheight). Else resize the canvas the turtles are drawing on. Do not alter the drawing window. To observe hidden parts of the canvas, use the scrollbars. With this method, one can make visible those parts of a drawing which were outside the canvas before.
1 Example
>>> screen.screensize()
(400, 300)
>>> screen.screensize(2000,1500)
>>> screen.screensize()
(2000, 1500)
from the Python docs
See Also
No see-alsos for turtle/screensize
0 Notes
No notes for screensize