Home
last modified time | relevance | path

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

/external/python/cpython3/Lib/turtledemo/
Dtwo_canvases.py9 from turtle import TurtleScreen, RawTurtle, TK
18 s1 = TurtleScreen(cv1)
20 s2 = TurtleScreen(cv2)
D__main__.py243 turtle.TurtleScreen.__init__(_s_, _s_._canvas)
319 turtle.TurtleScreen._RUNNING = False
335 turtle.TurtleScreen._RUNNING = True
373 turtle.TurtleScreen._RUNNING = False
376 turtle.TurtleScreen._RUNNING = False
/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/cpython3/Doc/library/
Dturtle.rst58 1. The :class:`TurtleScreen` class defines graphics windows as a playground for
64 :class:`TurtleScreen` subclass. This function should be used when
68 All methods of TurtleScreen/Screen also exist as functions, i.e. as part of
72 on a :class:`TurtleScreen`. Its constructor needs a Canvas, ScrolledCanvas
73 or TurtleScreen as argument, so the RawTurtle objects know where to draw.
190 Methods of TurtleScreen/Screen
1055 :param arg: object to be written to the TurtleScreen
1117 name of current shape. Shape with *name* must exist in the TurtleScreen's
1435 Return the :class:`TurtleScreen` object the turtle is drawing on.
1436 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
/external/python/cpython3/Lib/
Dturtle.py886 data = TurtleScreen._image(data)
956 class TurtleScreen(TurtleScreenBase): class
1290 if not TurtleScreen._RUNNING:
1291 TurtleScreen._RUNNING = True
2525 elif isinstance(canvas, TurtleScreen):
2535 self.screen = TurtleScreen(canvas)
3665 class _Screen(TurtleScreen):
3690 TurtleScreen.__init__(self, _Screen._canvas)
3757 TurtleScreen._RUNNING = False