• Home
  • Raw
  • Download

Lines Matching refs:Turtle

2 :mod:`turtle` --- Turtle graphics for Tk
6 :synopsis: Turtle graphics for Tk
12 turtle = Turtle()
17 Turtle graphics is a popular way for introducing programming to kids. It was
56 2. :class:`RawTurtle` (alias: :class:`RawPen`) defines Turtle objects which draw
60 Derived from RawTurtle is the subclass :class:`Turtle` (alias: :class:`Pen`),
64 All methods of RawTurtle/Turtle also exist as functions, i.e. part of the
68 of the classes :class:`Screen` and :class:`Turtle`. They have the same names as
71 automatically created whenever any of the functions derived from a Turtle method
82 Overview over available Turtle and Screen methods
85 Turtle methods
88 Turtle motion
107 Tell Turtle's state
142 Turtle state
162 Special Turtle methods
215 Methods of RawTurtle/Turtle and corresponding functions
218 Most of the examples in this section refer to a Turtle instance called
221 Turtle motion
602 Tell Turtle's state
690 >>> joe = Turtle()
1059 Turtle state
1089 Return ``True`` if the Turtle is shown, ``False`` if it's hidden.
1262 >>> class MyTurtle(Turtle):
1291 Subsequently, clicking and dragging the Turtle will move it across
1304 Special Turtle methods
1344 >>> mick = Turtle()
1351 Return the Turtle object itself. Only reasonable use: as a function to
1359 <turtle.Turtle object at 0x...>
1510 derived from the Turtle method ``clear``.
1521 derived from the Turtle method ``reset``.
1623 See also the RawTurtle/Turtle method :func:`speed`.
1666 Example for a TurtleScreen instance named ``screen`` and a Turtle instance
1678 derived from the Turtle method ``onclick``.
1897 Turtle/RawTurtle".
1900 .. class:: Turtle()
1983 The public methods of the Screen and Turtle classes are documented extensively
2009 >>> help(Turtle.penup)
2012 penup(self) unbound turtle.Turtle method
2064 Screen and Turtle.
2119 title = Python Turtle Graphics