Lines Matching refs:TurtleScreen
77 - A TurtleScreen class with methods controlling background color or
79 TurtleScreen.
82 coordinate-system for the TurtleScreen.
88 - Appearance of the TurtleScreen and the Turtles at startup/import can be
118 _tg_classes = ['ScrolledCanvas', 'TurtleScreen', 'Screen',
157 "mode": "standard", # TurtleScreen
812 """Will be raised in TurtleScreen.update, if _RUNNING becomes False.
840 data = TurtleScreen._image(data)
910 class TurtleScreen(TurtleScreenBase):
953 """Delete all drawings and all turtles from the TurtleScreen.
955 Reset empty TurtleScreen to its initial state: white background,
960 Example (for a TurtleScreen instance named screen):
1030 Example (for a TurtleScreen instance named screen):
1054 """Adds a turtle shape to TurtleScreen's shapelist.
1072 Example (for a TurtleScreen instance named screen):
1135 Example (for a TurtleScreen instance named screen):
1153 Example (for a TurtleScreen instance named screen):
1163 Example (for a TurtleScreen instance named screen):
1170 """Set or return backgroundcolor of the TurtleScreen.
1175 Example (for a TurtleScreen instance named screen):
1203 Example (for a TurtleScreen instance named screen):
1226 Example (for a TurtleScreen instance named screen):
1237 if not TurtleScreen._RUNNING:
1238 TurtleScreen._RUNNNING = True
1245 """Perform a TurtleScreen update.
1258 Example (for a TurtleScreen instance named screen):
1267 Example (for a TurtleScreen instance named screen):
1274 """Return the Canvas of this TurtleScreen.
1290 Example (for a TurtleScreen instance named screen):
1304 Example (for a TurtleScreen instance named screen
1308 >>> # Subsequently clicking into the TurtleScreen will
1321 In order to be able to register key-events, TurtleScreen
1324 Example (for a TurtleScreen instance named screen):
1345 """Set focus on TurtleScreen (in order to collect key-events)
1351 Example (for a TurtleScreen instance named screen):
1363 Example (for a TurtleScreen instance named screen):
1387 Example (for a TurtleScreen instance named screen):
2418 Puts RawTurtle upon a TurtleScreen and provides tools for
2429 elif isinstance(canvas, TurtleScreen):
2439 self.screen = TurtleScreen(canvas)
2665 Shape with name must exist in the TurtleScreen's shape dictionary.
3280 arg -- info, which is to be written to the TurtleScreen
3346 """Return the TurtleScreen object, the turtle is drawing on.
3350 Return the TurtleScreen object, the turtle is drawing on.
3351 So TurtleScreen-methods can be called for that object.
3356 <turtle.TurtleScreen object at 0x0106B770>
3382 ### screen oriented methods recurring to methods of TurtleScreen
3390 Example (for a TurtleScreen instance named screen):
3401 Example (for a TurtleScreen instance named screen):
3555 class _Screen(TurtleScreen):
3580 TurtleScreen.__init__(self, _Screen._canvas)
3630 This is a method of Screen-class. Not available for TurtleScreen-
3647 TurtleScreen._RUNNING = True
3653 Example (for a TurtleScreen instance named screen):
3663 Bind bye() method to mouseclick on TurtleScreen.
3671 TurtleScreen instances.
3693 Turtle method is called a TurtleScreen object is automatically created.
3718 """Create a TurtleScreen if not already present."""
3835 """To reduce docstrings from TurtleScreen class for functions