Home
last modified time | relevance | path

Searched refs:TurtleScreen (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Demo/turtle/
Dtdemo_two_canvases.py9 from turtle import TurtleScreen, RawTurtle, TK
18 s1 = TurtleScreen(cv1)
20 s2 = TurtleScreen(cv2)
Dabout_turtle.txt57 - A TurtleScreen class with methods controlling background color or
59 TurtleScreen.
62 coordinate-system for the TurtleScreen.
68 - Appearance of the TurtleScreen and the Turtles at startup/import can be
DturtleDemo.py139 turtle.TurtleScreen.__init__(_s_, _s_._canvas)
220 turtle.TurtleScreen._RUNNING = True
257 turtle.TurtleScreen._RUNNING = False
259 turtle.TurtleScreen._RUNNING = False
262 turtle.TurtleScreen._RUNNING = False
/external/python/cpython2/Doc/library/
Dturtle.rst43 1. The :class:`TurtleScreen` class defines graphics windows as a playground for
49 :class:`TurtleScreen` subclass. This function should be used when
53 All methods of TurtleScreen/Screen also exist as functions, i.e. as part of
57 on a :class:`TurtleScreen`. Its constructor needs a Canvas, ScrolledCanvas
58 or TurtleScreen as argument, so the RawTurtle objects know where to draw.
176 Methods of TurtleScreen/Screen
1045 :param arg: object to be written to the TurtleScreen
1107 name of current shape. Shape with *name* must exist in the TurtleScreen's
1364 Return the :class:`TurtleScreen` object the turtle is drawing on.
1365 TurtleScreen methods can then be called for that object.
[all …]
/external/python/cpython2/Lib/lib-tk/
Dturtle.py841 data = TurtleScreen._image(data)
911 class TurtleScreen(TurtleScreenBase): class
1238 if not TurtleScreen._RUNNING:
1239 TurtleScreen._RUNNING = True
2430 elif isinstance(canvas, TurtleScreen):
2440 self.screen = TurtleScreen(canvas)
3556 class _Screen(TurtleScreen):
3581 TurtleScreen.__init__(self, _Screen._canvas)
3648 TurtleScreen._RUNNING = False