Window control
| :func:`bgcolor`
| :func:`bgpic`
- | :func:`clear` | :func:`clearscreen`
- | :func:`reset` | :func:`resetscreen`
+ | :func:`clearscreen`
+ | :func:`resetscreen`
| :func:`screensize`
| :func:`setworldcoordinates`
~~~~~~~~~~~~~~~~~~~~
.. function:: reset()
- :noindex:
Delete the turtle's drawings from the screen, re-center the turtle and set
variables to the default values.
.. function:: clear()
- :noindex:
Delete the turtle's drawings from the screen. Do not move turtle. State and
position of the turtle as well as drawings of other turtles are not affected.
.. function:: clear()
- clearscreen()
-
- Delete all drawings and all turtles from the TurtleScreen. Reset the now
- empty TurtleScreen to its initial state: white background, no background
- image, no event bindings and tracing on.
+ :noindex:
.. note::
This TurtleScreen method is available as a global function only under the
derived from the Turtle method ``clear``.
-.. function:: reset()
- resetscreen()
+.. function:: clearscreen()
- Reset all Turtles on the Screen to their initial state.
+ Delete all drawings and all turtles from the TurtleScreen. Reset the now
+ empty TurtleScreen to its initial state: white background, no background
+ image, no event bindings and tracing on.
+
+
+.. function:: reset()
+ :noindex:
.. note::
This TurtleScreen method is available as a global function only under the
derived from the Turtle method ``reset``.
+.. function:: resetscreen()
+
+ Reset all Turtles on the Screen to their initial state.
+
+
.. function:: screensize(canvwidth=None, canvheight=None, bg=None)
:param canvwidth: positive integer, new width of canvas in pixels