1
0
Fork 0
python-docs-fr/library/turtle.po

2597 lines
73 KiB
Plaintext
Raw Normal View History

2018-07-04 09:06:45 +00:00
# Copyright (C) 2001-2018, Python Software Foundation
2018-07-04 09:08:42 +00:00
# For licence information, see README file.
2016-10-30 09:46:26 +00:00
#
msgid ""
msgstr ""
"Project-Id-Version: Python 3.6\n"
"Report-Msgid-Bugs-To: \n"
2018-06-28 13:32:56 +00:00
"POT-Creation-Date: 2018-06-28 15:29+0200\n"
"PO-Revision-Date: 2019-01-14 15:47+0100\n"
"Last-Translator: Pablo Abril <pabril@student.42.fr>\n"
2018-07-04 09:14:25 +00:00
"Language-Team: FRENCH <traductions@lists.afpy.org>\n"
2017-05-23 22:40:56 +00:00
"Language: fr\n"
2016-10-30 09:46:26 +00:00
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.2\n"
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:3
msgid ":mod:`turtle` --- Turtle graphics"
msgstr ":mod:`turtle` --- Tortue graphique"
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:10
msgid "**Source code:** :source:`Lib/turtle.py`"
msgstr "**Code Source :** :source:`Lib/turtle.py`"
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:20
msgid "Introduction"
msgstr "Introduction"
#: ../Doc/library/turtle.rst:22
msgid ""
"Turtle graphics is a popular way for introducing programming to kids. It was "
"part of the original Logo programming language developed by Wally Feurzig and "
"Seymour Papert in 1966."
2016-10-30 09:46:26 +00:00
msgstr ""
"Une façon populaire pour initier les enfants au monde du développement est le "
"module Tortue graphique. Ce dernier faisait partie du langage de "
"programmation Logo créé par Wally Feurzig et Seymout Papert en 1966."
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:26
msgid ""
"Imagine a robotic turtle starting at (0, 0) in the x-y plane. After an "
"``import turtle``, give it the command ``turtle.forward(15)``, and it moves "
"(on-screen!) 15 pixels in the direction it is facing, drawing a line as it "
"moves. Give it the command ``turtle.right(25)``, and it rotates in-place 25 "
"degrees clockwise."
msgstr ""
"Imaginez un robot sous forme de tortue partant au centre (0, 0) d'un plan cartésien x-"
"y. Après un ``import turtle``, exécutez la commande ``turtle.forward(15)`` et "
"la tortue se déplace (sur l'écran) de 15 pixels en face d'elle, en "
"dessinant une ligne."
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:33
msgid ""
"Turtle can draw intricate shapes using programs that repeat simple moves."
msgstr ""
"La tortue permet de dessiner des formes complexes en utilisant un "
"programme qui répète des actions élémentaires."
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:41
msgid ""
"By combining together these and similar commands, intricate shapes and "
"pictures can easily be drawn."
msgstr ""
"On peut donc facilement construire des formes et images à partir de commandes "
"simples."
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:44
msgid ""
"The :mod:`turtle` module is an extended reimplementation of the same-named "
"module from the Python standard distribution up to version Python 2.5."
msgstr ""
"Le module :mod:`turtle` est une version étendue du module homonyme "
"appartenant à la distribution standard de Python jusqu'à la version 2.5."
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:47
msgid ""
"It tries to keep the merits of the old turtle module and to be (nearly) 100% "
"compatible with it. This means in the first place to enable the learning "
"programmer to use all the commands, classes and methods interactively when "
"using the module from within IDLE run with the ``-n`` switch."
msgstr ""
"Cette bibliothèque essaye de garder les avantages de l'ancien module et d'être "
"(presque) 100% compatible avec celui-ci. Cela permet à l'apprenti développeur "
"d'utiliser toutes les commandes, classes et méthodes de façon interactive "
"pendant qu'il utilise le module depuis IDLE lancé avec l'option ``-n``."
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:52
msgid ""
"The turtle module provides turtle graphics primitives, in both object-"
"oriented and procedure-oriented ways. Because it uses :mod:`tkinter` for the "
"underlying graphics, it needs a version of Python installed with Tk support."
2016-10-30 09:46:26 +00:00
msgstr ""
"*Turtle* permet d'utiliser des primitives graphiques en utilisant un style de "
"programmation orienté objet ou procédural. Du fait qu'il utilise la bibliothèque "
"graphique :mod:`tkinter`, *Turtle* a besoin d'une version de python "
"implémentant *Tk*."
2016-10-30 09:46:26 +00:00
# two+two ??
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:56
msgid "The object-oriented interface uses essentially two+two classes:"
msgstr "L'interface orientée objet utilise essentiellement deux + deux classes :"
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:58
msgid ""
"The :class:`TurtleScreen` class defines graphics windows as a playground for "
"the drawing turtles. Its constructor needs a :class:`tkinter.Canvas` or a :"
"class:`ScrolledCanvas` as argument. It should be used when :mod:`turtle` is "
"used as part of some application."
msgstr ""
"La classe :class:`TurtleScreen` définit une fenêtre graphique utilisé comme "
"un terrain de jeu pour les dessins de la tortue. Le constructeur de cette "
"classe a besoin d'un :class:`tkinter.Canvas` ou :class:`ScrolledCanvas` comme "
"argument. Cette classe doit être utilisée seulement si :mod:`turtle` fait "
"partie intégrante d'une autre application."
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:63
msgid ""
"The function :func:`Screen` returns a singleton object of a :class:"
"`TurtleScreen` subclass. This function should be used when :mod:`turtle` is "
"used as a standalone tool for doing graphics. As a singleton object, "
"inheriting from its class is not possible."
msgstr ""
"La fonction :func:`Screen` renvoie un singleton d'une sous-classe de :class:"
"`TurtleScreen`. Elle doit être utilisée quand le module :mod:`turtle` est "
"utilisé de façon autonome pour dessiner. Le singleton renvoyé ne peut hériter "
"de sa classe."
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:68
msgid ""
"All methods of TurtleScreen/Screen also exist as functions, i.e. as part of "
"the procedure-oriented interface."
msgstr ""
"Toutes les méthodes de *TurtleScreen*/*Screen* existent également sous la "
"forme de fonctions, c'est-à-dire que ces dernières peuvent être utilisées dans "
"un style procédural."
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:71
msgid ""
":class:`RawTurtle` (alias: :class:`RawPen`) defines Turtle objects which draw "
"on a :class:`TurtleScreen`. Its constructor needs a Canvas, ScrolledCanvas "
"or TurtleScreen as argument, so the RawTurtle objects know where to draw."
2016-10-30 09:46:26 +00:00
msgstr ""
"La classe :class:`RawTurtle` (alias :class:`RawPen`) définit des objets "
"*Turtle* qui peuvent dessiner sur la classe :class:`TurtleScreen`. Son "
"constructeur prend en paramètre un *Canvas*, un *ScrolledCanvas* ou un "
"*TurtleScreen* permettant à l'objet *RawTurtle* de savoir où écrire."
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:75
msgid ""
"Derived from RawTurtle is the subclass :class:`Turtle` (alias: :class:`Pen`), "
"which draws on \"the\" :class:`Screen` instance which is automatically "
"created, if not already present."
2016-10-30 09:46:26 +00:00
msgstr ""
"La sous-classe :class:`Turtle` (alias: :class:`Pen`), dérivée de *RawTurtle*, "
"dessine sur l'instance :class:`Screen` qui est créée automatiquement si elle "
"n'est pas déjà présente."
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:79
msgid ""
"All methods of RawTurtle/Turtle also exist as functions, i.e. part of the "
"procedure-oriented interface."
msgstr ""
"Toutes les méthodes de *RawTurtle*/*Turtle* existent également sous la forme "
"de fonctions, c'est-à-dire que ces dernières pourront être utilisées en "
"style procédural."
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:82
msgid ""
"The procedural interface provides functions which are derived from the "
"methods of the classes :class:`Screen` and :class:`Turtle`. They have the "
"same names as the corresponding methods. A screen object is automatically "
"created whenever a function derived from a Screen method is called. An "
"(unnamed) turtle object is automatically created whenever any of the "
"functions derived from a Turtle method is called."
msgstr ""
"L'interface procédurale met à disposition des fonctions équivalentes à celles "
"des méthodes des classes :class:`Screen` et :class:`Turtle`. Le nom d'une "
"fonction est le même que la méthode équivalente. Un objet *Screen* est créé "
"automatiquement dès qu'une fonction dérivée d'une méthode *Screen* est "
"appelée. Un objet *Turtle* (sans nom) est créé automatiquement dès qu'une "
"fonction dérivée d'une méthode *Turtle* est appelée."
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:89
msgid ""
"To use multiple turtles on a screen one has to use the object-oriented "
"interface."
msgstr ""
"Afin de pouvoir utiliser plusieurs tortues simultanément sur l'écran, vous "
"devez utiliser l'interface orientée-objet."
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:92
msgid ""
"In the following documentation the argument list for functions is given. "
"Methods, of course, have the additional first argument *self* which is "
"omitted here."
msgstr ""
"La liste des paramètres des fonctions est donnée dans cette documentation. "
"Les méthodes ont, évidemment, le paramètre *self* comme premier argument, "
"mais ce dernier n'est pas indiqué ici."
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:98
msgid "Overview of available Turtle and Screen methods"
msgstr "Résumé des méthodes de *Turtle* et *Screen*"
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:101
msgid "Turtle methods"
msgstr "Les méthodes du module *Turtle*"
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:132 ../Doc/library/turtle.rst:242
msgid "Turtle motion"
msgstr "Les mouvements dans le module *Turtle*"
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:120
msgid "Move and draw"
msgstr "Bouger et dessiner"
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:0
msgid ":func:`forward` | :func:`fd`"
msgstr ":func:`forward` | :func:`fd`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`backward` | :func:`bk` | :func:`back`"
msgstr ":func:`backward` | :func:`bk` | :func:`back`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`right` | :func:`rt`"
msgstr ":func:`right` | :func:`rt`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`left` | :func:`lt`"
msgstr ":func:`left` | :func:`lt`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`goto` | :func:`setpos` | :func:`setposition`"
msgstr ":func:`goto` | :func:`setpos` | :func:`setposition`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`setx`"
msgstr ":func:`setx`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`sety`"
msgstr ":func:`sety`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`setheading` | :func:`seth`"
msgstr ":func:`setheading` | :func:`seth`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`home`"
msgstr ":func:`home`"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:0 ../Doc/library/turtle.rst:2370
2016-10-30 09:46:26 +00:00
msgid ":func:`circle`"
msgstr ":func:`circle`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`dot`"
msgstr ":func:`dot`"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:0 ../Doc/library/turtle.rst:2348
2016-10-30 09:46:26 +00:00
msgid ":func:`stamp`"
msgstr ":func:`stamp`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`clearstamp`"
msgstr ":func:`clearstamp`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`clearstamps`"
msgstr ":func:`clearstamps`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`undo`"
msgstr ":func:`undo`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`speed`"
msgstr ":func:`speed`"
#: ../Doc/library/turtle.rst:128 ../Doc/library/turtle.rst:623
msgid "Tell Turtle's state"
msgstr ""
#: ../Doc/library/turtle.rst:0
msgid ":func:`position` | :func:`pos`"
msgstr ":func:`position` | :func:`pos`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`towards`"
msgstr ":func:`towards`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`xcor`"
msgstr ":func:`xcor`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`ycor`"
msgstr ":func:`ycor`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`heading`"
msgstr ":func:`heading`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`distance`"
msgstr ":func:`distance`"
#: ../Doc/library/turtle.rst:132
msgid "Setting and measurement"
msgstr ""
#: ../Doc/library/turtle.rst:0
msgid ":func:`degrees`"
msgstr ":func:`degrees`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`radians`"
msgstr ":func:`radians`"
#: ../Doc/library/turtle.rst:155 ../Doc/library/turtle.rst:765
msgid "Pen control"
msgstr ""
#: ../Doc/library/turtle.rst:140 ../Doc/library/turtle.rst:768
msgid "Drawing state"
msgstr ""
#: ../Doc/library/turtle.rst:0
msgid ":func:`pendown` | :func:`pd` | :func:`down`"
msgstr ":func:`pendown` | :func:`pd` | :func:`down`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`penup` | :func:`pu` | :func:`up`"
msgstr ":func:`penup` | :func:`pu` | :func:`up`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`pensize` | :func:`width`"
msgstr ":func:`pensize` | :func:`width`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`pen`"
msgstr ":func:`pen`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`isdown`"
msgstr ":func:`isdown`"
#: ../Doc/library/turtle.rst:145 ../Doc/library/turtle.rst:857
msgid "Color control"
msgstr ""
#: ../Doc/library/turtle.rst:0
msgid ":func:`color`"
msgstr ":func:`color`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`pencolor`"
msgstr ":func:`pencolor`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`fillcolor`"
msgstr ":func:`fillcolor`"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:150 ../Doc/library/turtle.rst:986
2016-10-30 09:46:26 +00:00
msgid "Filling"
msgstr ""
#: ../Doc/library/turtle.rst:0
msgid ":func:`filling`"
msgstr ":func:`filling`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`begin_fill`"
msgstr ":func:`begin_fill`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`end_fill`"
msgstr ":func:`end_fill`"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:155 ../Doc/library/turtle.rst:1025
2016-10-30 09:46:26 +00:00
msgid "More drawing control"
msgstr ""
#: ../Doc/library/turtle.rst:0
msgid ":func:`reset`"
msgstr ":func:`reset`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`clear`"
msgstr ":func:`clear`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`write`"
msgstr ":func:`write`"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:172 ../Doc/library/turtle.rst:1070
2016-10-30 09:46:26 +00:00
msgid "Turtle state"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:161 ../Doc/library/turtle.rst:1073
2016-10-30 09:46:26 +00:00
msgid "Visibility"
msgstr ""
#: ../Doc/library/turtle.rst:0
msgid ":func:`showturtle` | :func:`st`"
msgstr ":func:`showturtle` | :func:`st`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`hideturtle` | :func:`ht`"
msgstr ":func:`hideturtle` | :func:`ht`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`isvisible`"
msgstr ":func:`isvisible`"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:172 ../Doc/library/turtle.rst:1110
2016-10-30 09:46:26 +00:00
msgid "Appearance"
msgstr ""
#: ../Doc/library/turtle.rst:0
msgid ":func:`shape`"
msgstr ":func:`shape`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`resizemode`"
msgstr ":func:`resizemode`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`shapesize` | :func:`turtlesize`"
msgstr ":func:`shapesize` | :func:`turtlesize`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`shearfactor`"
msgstr ":func:`shearfactor`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`settiltangle`"
msgstr ":func:`settiltangle`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`tiltangle`"
msgstr ":func:`tiltangle`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`tilt`"
msgstr ":func:`tilt`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`shapetransform`"
msgstr ":func:`shapetransform`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`get_shapepoly`"
msgstr ":func:`get_shapepoly`"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:177 ../Doc/library/turtle.rst:1306
2016-10-30 09:46:26 +00:00
msgid "Using events"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:0 ../Doc/library/turtle.rst:2342
2016-10-30 09:46:26 +00:00
msgid ":func:`onclick`"
msgstr ":func:`onclick`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`onrelease`"
msgstr ":func:`onrelease`"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:0 ../Doc/library/turtle.rst:2325
2016-10-30 09:46:26 +00:00
msgid ":func:`ondrag`"
msgstr ":func:`ondrag`"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:188 ../Doc/library/turtle.rst:1376
2016-10-30 09:46:26 +00:00
msgid "Special Turtle methods"
msgstr ""
#: ../Doc/library/turtle.rst:0
msgid ":func:`begin_poly`"
msgstr ":func:`begin_poly`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`end_poly`"
msgstr ":func:`end_poly`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`get_poly`"
msgstr ":func:`get_poly`"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:0 ../Doc/library/turtle.rst:2361
2016-10-30 09:46:26 +00:00
msgid ":func:`clone`"
msgstr ":func:`clone`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`getturtle` | :func:`getpen`"
msgstr ":func:`getturtle` | :func:`getpen`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`getscreen`"
msgstr ":func:`getscreen`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`setundobuffer`"
msgstr ":func:`setundobuffer`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`undobufferentries`"
msgstr ":func:`undobufferentries`"
#: ../Doc/library/turtle.rst:191
msgid "Methods of TurtleScreen/Screen"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:199 ../Doc/library/turtle.rst:1521
2016-10-30 09:46:26 +00:00
msgid "Window control"
msgstr ""
#: ../Doc/library/turtle.rst:0
msgid ":func:`bgcolor`"
msgstr ":func:`bgcolor`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`bgpic`"
msgstr ":func:`bgpic`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`clear` | :func:`clearscreen`"
msgstr ":func:`clear` | :func:`clearscreen`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`reset` | :func:`resetscreen`"
msgstr ":func:`reset` | :func:`resetscreen`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`screensize`"
msgstr ":func:`screensize`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`setworldcoordinates`"
msgstr ":func:`setworldcoordinates`"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:204 ../Doc/library/turtle.rst:1635
2016-10-30 09:46:26 +00:00
msgid "Animation control"
msgstr ""
#: ../Doc/library/turtle.rst:0
msgid ":func:`delay`"
msgstr ":func:`delay`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`tracer`"
msgstr ":func:`tracer`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`update`"
msgstr ":func:`update`"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:212 ../Doc/library/turtle.rst:1686
2016-10-30 09:46:26 +00:00
msgid "Using screen events"
msgstr ""
#: ../Doc/library/turtle.rst:0
msgid ":func:`listen`"
msgstr ":func:`listen`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`onkey` | :func:`onkeyrelease`"
msgstr ":func:`onkey` | :func:`onkeyrelease`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`onkeypress`"
msgstr ":func:`onkeypress`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`onclick` | :func:`onscreenclick`"
msgstr ":func:`onclick` | :func:`onscreenclick`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`ontimer`"
msgstr ":func:`ontimer`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`mainloop` | :func:`done`"
msgstr ":func:`mainloop` | :func:`done`"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:222 ../Doc/library/turtle.rst:1827
2016-10-30 09:46:26 +00:00
msgid "Settings and special methods"
msgstr ""
#: ../Doc/library/turtle.rst:0
msgid ":func:`mode`"
msgstr ""
#: ../Doc/library/turtle.rst:0
msgid ":func:`colormode`"
msgstr ":func:`colormode`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`getcanvas`"
msgstr ":func:`getcanvas`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`getshapes`"
msgstr ":func:`getshapes`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`register_shape` | :func:`addshape`"
msgstr ":func:`register_shape` | :func:`addshape`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`turtles`"
msgstr ":func:`turtles`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`window_height`"
msgstr ":func:`window_height`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`window_width`"
msgstr ":func:`window_width`"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:226 ../Doc/library/turtle.rst:1791
2016-10-30 09:46:26 +00:00
msgid "Input methods"
msgstr ""
#: ../Doc/library/turtle.rst:0
msgid ":func:`textinput`"
msgstr ":func:`textinput`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`numinput`"
msgstr ":func:`numinput`"
#: ../Doc/library/turtle.rst:233
msgid "Methods specific to Screen"
msgstr ""
#: ../Doc/library/turtle.rst:0
msgid ":func:`bye`"
msgstr ":func:`bye`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`exitonclick`"
msgstr ":func:`exitonclick`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`setup`"
msgstr ":func:`setup`"
#: ../Doc/library/turtle.rst:0
msgid ":func:`title`"
msgstr ":func:`title`"
#: ../Doc/library/turtle.rst:236
msgid "Methods of RawTurtle/Turtle and corresponding functions"
msgstr ""
#: ../Doc/library/turtle.rst:238
msgid ""
"Most of the examples in this section refer to a Turtle instance called "
"``turtle``."
msgstr ""
2017-12-01 06:48:13 +00:00
#: ../Doc/library/turtle.rst:0
msgid "Parameters"
msgstr ""
2016-10-30 09:46:26 +00:00
#: ../Doc/library/turtle.rst:247 ../Doc/library/turtle.rst:290
#: ../Doc/library/turtle.rst:313 ../Doc/library/turtle.rst:369
#: ../Doc/library/turtle.rst:390 ../Doc/library/turtle.rst:411
msgid "a number (integer or float)"
msgstr ""
#: ../Doc/library/turtle.rst:249
msgid ""
"Move the turtle forward by the specified *distance*, in the direction the "
"turtle is headed."
msgstr ""
#: ../Doc/library/turtle.rst:268 ../Doc/library/turtle.rst:458
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:721 ../Doc/library/turtle.rst:1205
#: ../Doc/library/turtle.rst:1223
2016-10-30 09:46:26 +00:00
msgid "a number"
msgstr ""
#: ../Doc/library/turtle.rst:270
msgid ""
"Move the turtle backward by *distance*, opposite to the direction the turtle "
"is headed. Do not change the turtle's heading."
msgstr ""
#: ../Doc/library/turtle.rst:292
msgid ""
"Turn turtle right by *angle* units. (Units are by default degrees, but can "
"be set via the :func:`degrees` and :func:`radians` functions.) Angle "
"orientation depends on the turtle mode, see :func:`mode`."
msgstr ""
#: ../Doc/library/turtle.rst:315
msgid ""
"Turn turtle left by *angle* units. (Units are by default degrees, but can be "
"set via the :func:`degrees` and :func:`radians` functions.) Angle "
2016-10-30 09:46:26 +00:00
"orientation depends on the turtle mode, see :func:`mode`."
msgstr ""
#: ../Doc/library/turtle.rst:337
msgid "a number or a pair/vector of numbers"
msgstr ""
#: ../Doc/library/turtle.rst:338
msgid "a number or ``None``"
msgstr ""
#: ../Doc/library/turtle.rst:340
msgid ""
"If *y* is ``None``, *x* must be a pair of coordinates or a :class:`Vec2D` (e."
"g. as returned by :func:`pos`)."
msgstr ""
#: ../Doc/library/turtle.rst:343
msgid ""
"Move turtle to an absolute position. If the pen is down, draw line. Do not "
"change the turtle's orientation."
msgstr ""
#: ../Doc/library/turtle.rst:371
msgid ""
"Set the turtle's first coordinate to *x*, leave second coordinate unchanged."
msgstr ""
#: ../Doc/library/turtle.rst:392
msgid ""
"Set the turtle's second coordinate to *y*, leave first coordinate unchanged."
msgstr ""
#: ../Doc/library/turtle.rst:413
msgid ""
"Set the orientation of the turtle to *to_angle*. Here are some common "
"directions in degrees:"
msgstr ""
#: ../Doc/library/turtle.rst:417
msgid "standard mode"
msgstr ""
#: ../Doc/library/turtle.rst:417
msgid "logo mode"
msgstr ""
#: ../Doc/library/turtle.rst:419
msgid "0 - east"
msgstr ""
#: ../Doc/library/turtle.rst:419
msgid "0 - north"
msgstr ""
#: ../Doc/library/turtle.rst:420
msgid "90 - north"
msgstr ""
#: ../Doc/library/turtle.rst:420
msgid "90 - east"
msgstr ""
#: ../Doc/library/turtle.rst:421
msgid "180 - west"
msgstr ""
#: ../Doc/library/turtle.rst:421
msgid "180 - south"
msgstr ""
#: ../Doc/library/turtle.rst:422
msgid "270 - south"
msgstr ""
#: ../Doc/library/turtle.rst:422
msgid "270 - west"
msgstr ""
#: ../Doc/library/turtle.rst:434
msgid ""
"Move turtle to the origin -- coordinates (0,0) -- and set its heading to its "
"start-orientation (which depends on the mode, see :func:`mode`)."
msgstr ""
#: ../Doc/library/turtle.rst:459
msgid "a number (or ``None``)"
msgstr ""
#: ../Doc/library/turtle.rst:460 ../Doc/library/turtle.rst:550
msgid "an integer (or ``None``)"
msgstr ""
#: ../Doc/library/turtle.rst:462
msgid ""
"Draw a circle with given *radius*. The center is *radius* units left of the "
"turtle; *extent* -- an angle -- determines which part of the circle is "
"drawn. If *extent* is not given, draw the entire circle. If *extent* is not "
"a full circle, one endpoint of the arc is the current pen position. Draw the "
"arc in counterclockwise direction if *radius* is positive, otherwise in "
"clockwise direction. Finally the direction of the turtle is changed by the "
"amount of *extent*."
2016-10-30 09:46:26 +00:00
msgstr ""
#: ../Doc/library/turtle.rst:470
msgid ""
"As the circle is approximated by an inscribed regular polygon, *steps* "
"determines the number of steps to use. If not given, it will be calculated "
"automatically. May be used to draw regular polygons."
msgstr ""
#: ../Doc/library/turtle.rst:495
msgid "an integer >= 1 (if given)"
msgstr ""
#: ../Doc/library/turtle.rst:496
msgid "a colorstring or a numeric color tuple"
msgstr ""
#: ../Doc/library/turtle.rst:498
msgid ""
"Draw a circular dot with diameter *size*, using *color*. If *size* is not "
"given, the maximum of pensize+4 and 2*pensize is used."
msgstr ""
#: ../Doc/library/turtle.rst:515
msgid ""
"Stamp a copy of the turtle shape onto the canvas at the current turtle "
"position. Return a stamp_id for that stamp, which can be used to delete it "
"by calling ``clearstamp(stamp_id)``."
msgstr ""
#: ../Doc/library/turtle.rst:529
msgid "an integer, must be return value of previous :func:`stamp` call"
msgstr ""
#: ../Doc/library/turtle.rst:532
msgid "Delete stamp with given *stampid*."
msgstr ""
#: ../Doc/library/turtle.rst:552
msgid ""
"Delete all or first/last *n* of turtle's stamps. If *n* is ``None``, delete "
"all stamps, if *n* > 0 delete first *n* stamps, else if *n* < 0 delete last "
"*n* stamps."
msgstr ""
#: ../Doc/library/turtle.rst:575
msgid ""
"Undo (repeatedly) the last turtle action(s). Number of available undo "
"actions is determined by the size of the undobuffer."
msgstr ""
#: ../Doc/library/turtle.rst:589
msgid "an integer in the range 0..10 or a speedstring (see below)"
msgstr ""
#: ../Doc/library/turtle.rst:591
msgid ""
"Set the turtle's speed to an integer value in the range 0..10. If no "
"argument is given, return current speed."
msgstr ""
#: ../Doc/library/turtle.rst:594
msgid ""
"If input is a number greater than 10 or smaller than 0.5, speed is set to 0. "
"Speedstrings are mapped to speedvalues as follows:"
2016-10-30 09:46:26 +00:00
msgstr ""
#: ../Doc/library/turtle.rst:597
msgid "\"fastest\": 0"
msgstr ""
#: ../Doc/library/turtle.rst:598
msgid "\"fast\": 10"
msgstr ""
#: ../Doc/library/turtle.rst:599
msgid "\"normal\": 6"
msgstr ""
#: ../Doc/library/turtle.rst:600
msgid "\"slow\": 3"
msgstr ""
#: ../Doc/library/turtle.rst:601
msgid "\"slowest\": 1"
msgstr ""
#: ../Doc/library/turtle.rst:603
msgid ""
"Speeds from 1 to 10 enforce increasingly faster animation of line drawing and "
"turtle turning."
2016-10-30 09:46:26 +00:00
msgstr ""
#: ../Doc/library/turtle.rst:606
msgid ""
"Attention: *speed* = 0 means that *no* animation takes place. forward/back "
"makes turtle jump and likewise left/right make the turtle turn instantly."
msgstr ""
#: ../Doc/library/turtle.rst:628
msgid "Return the turtle's current location (x,y) (as a :class:`Vec2D` vector)."
2016-10-30 09:46:26 +00:00
msgstr ""
#: ../Doc/library/turtle.rst:638 ../Doc/library/turtle.rst:697
msgid "a number or a pair/vector of numbers or a turtle instance"
msgstr ""
#: ../Doc/library/turtle.rst:639 ../Doc/library/turtle.rst:698
msgid "a number if *x* is a number, else ``None``"
msgstr ""
#: ../Doc/library/turtle.rst:641
msgid ""
"Return the angle between the line from turtle position to position specified "
"by (x,y), the vector or the other turtle. This depends on the turtle's start "
"orientation which depends on the mode - \"standard\"/\"world\" or \"logo\")."
2016-10-30 09:46:26 +00:00
msgstr ""
#: ../Doc/library/turtle.rst:654
msgid "Return the turtle's x coordinate."
msgstr ""
#: ../Doc/library/turtle.rst:669
msgid "Return the turtle's y coordinate."
msgstr ""
#: ../Doc/library/turtle.rst:684
msgid ""
"Return the turtle's current heading (value depends on the turtle mode, see :"
"func:`mode`)."
msgstr ""
#: ../Doc/library/turtle.rst:700
msgid ""
"Return the distance from the turtle to (x,y), the given vector, or the given "
"other turtle, in turtle step units."
msgstr ""
#: ../Doc/library/turtle.rst:717
msgid "Settings for measurement"
msgstr ""
#: ../Doc/library/turtle.rst:723
msgid ""
"Set angle measurement units, i.e. set number of \"degrees\" for a full "
"circle. Default value is 360 degrees."
msgstr ""
#: ../Doc/library/turtle.rst:745
msgid ""
"Set the angle measurement units to radians. Equivalent to ``degrees(2*math."
"pi)``."
msgstr ""
#: ../Doc/library/turtle.rst:774
msgid "Pull the pen down -- drawing when moving."
msgstr ""
#: ../Doc/library/turtle.rst:781
msgid "Pull the pen up -- no drawing when moving."
msgstr ""
#: ../Doc/library/turtle.rst:787
msgid "a positive number"
msgstr ""
#: ../Doc/library/turtle.rst:789
msgid ""
"Set the line thickness to *width* or return it. If resizemode is set to "
"\"auto\" and turtleshape is a polygon, that polygon is drawn with the same "
"line thickness. If no argument is given, the current pensize is returned."
msgstr ""
#: ../Doc/library/turtle.rst:802
msgid "a dictionary with some or all of the below listed keys"
msgstr ""
#: ../Doc/library/turtle.rst:803
msgid "one or more keyword-arguments with the below listed keys as keywords"
msgstr ""
#: ../Doc/library/turtle.rst:805
msgid ""
"Return or set the pen's attributes in a \"pen-dictionary\" with the following "
"key/value pairs:"
2016-10-30 09:46:26 +00:00
msgstr ""
#: ../Doc/library/turtle.rst:808
msgid "\"shown\": True/False"
msgstr ""
#: ../Doc/library/turtle.rst:809
msgid "\"pendown\": True/False"
msgstr ""
#: ../Doc/library/turtle.rst:810
msgid "\"pencolor\": color-string or color-tuple"
msgstr ""
#: ../Doc/library/turtle.rst:811
msgid "\"fillcolor\": color-string or color-tuple"
msgstr ""
#: ../Doc/library/turtle.rst:812
msgid "\"pensize\": positive number"
msgstr ""
#: ../Doc/library/turtle.rst:813
msgid "\"speed\": number in range 0..10"
msgstr ""
#: ../Doc/library/turtle.rst:814
msgid "\"resizemode\": \"auto\" or \"user\" or \"noresize\""
msgstr ""
#: ../Doc/library/turtle.rst:815
msgid "\"stretchfactor\": (positive number, positive number)"
msgstr ""
#: ../Doc/library/turtle.rst:816
msgid "\"outline\": positive number"
msgstr ""
#: ../Doc/library/turtle.rst:817
msgid "\"tilt\": number"
msgstr ""
#: ../Doc/library/turtle.rst:819
msgid ""
"This dictionary can be used as argument for a subsequent call to :func:`pen` "
"to restore the former pen-state. Moreover one or more of these attributes "
"can be provided as keyword-arguments. This can be used to set several pen "
"attributes in one statement."
msgstr ""
#: ../Doc/library/turtle.rst:844
msgid "Return ``True`` if pen is down, ``False`` if it's up."
msgstr ""
#: ../Doc/library/turtle.rst:861
msgid "Return or set the pencolor."
msgstr ""
#: ../Doc/library/turtle.rst:863 ../Doc/library/turtle.rst:911
msgid "Four input formats are allowed:"
msgstr ""
#: ../Doc/library/turtle.rst:868
msgid "``pencolor()``"
msgstr "``pencolor()``"
#: ../Doc/library/turtle.rst:866
msgid ""
"Return the current pencolor as color specification string or as a tuple (see "
"example). May be used as input to another color/pencolor/fillcolor call."
msgstr ""
#: ../Doc/library/turtle.rst:872
msgid "``pencolor(colorstring)``"
msgstr "``pencolor(colorstring)``"
#: ../Doc/library/turtle.rst:871
msgid ""
"Set pencolor to *colorstring*, which is a Tk color specification string, such "
"as ``\"red\"``, ``\"yellow\"``, or ``\"#33cc8c\"``."
2016-10-30 09:46:26 +00:00
msgstr ""
#: ../Doc/library/turtle.rst:877
msgid "``pencolor((r, g, b))``"
msgstr "``pencolor((r, g, b))``"
#: ../Doc/library/turtle.rst:875
msgid ""
"Set pencolor to the RGB color represented by the tuple of *r*, *g*, and *b*. "
"Each of *r*, *g*, and *b* must be in the range 0..colormode, where colormode "
"is either 1.0 or 255 (see :func:`colormode`)."
2016-10-30 09:46:26 +00:00
msgstr ""
#: ../Doc/library/turtle.rst:884
msgid "``pencolor(r, g, b)``"
msgstr "``pencolor(r, g, b)``"
#: ../Doc/library/turtle.rst:880
msgid ""
"Set pencolor to the RGB color represented by *r*, *g*, and *b*. Each of *r*, "
"*g*, and *b* must be in the range 0..colormode."
2016-10-30 09:46:26 +00:00
msgstr ""
#: ../Doc/library/turtle.rst:883
msgid ""
"If turtleshape is a polygon, the outline of that polygon is drawn with the "
"newly set pencolor."
msgstr ""
#: ../Doc/library/turtle.rst:909
msgid "Return or set the fillcolor."
msgstr ""
#: ../Doc/library/turtle.rst:916
msgid "``fillcolor()``"
msgstr "``fillcolor()``"
#: ../Doc/library/turtle.rst:914
msgid ""
"Return the current fillcolor as color specification string, possibly in tuple "
"format (see example). May be used as input to another color/pencolor/"
2016-10-30 09:46:26 +00:00
"fillcolor call."
msgstr ""
#: ../Doc/library/turtle.rst:920
msgid "``fillcolor(colorstring)``"
msgstr "``fillcolor(colorstring)``"
#: ../Doc/library/turtle.rst:919
msgid ""
"Set fillcolor to *colorstring*, which is a Tk color specification string, "
"such as ``\"red\"``, ``\"yellow\"``, or ``\"#33cc8c\"``."
msgstr ""
#: ../Doc/library/turtle.rst:925
msgid "``fillcolor((r, g, b))``"
msgstr "``fillcolor((r, g, b))``"
#: ../Doc/library/turtle.rst:923
msgid ""
"Set fillcolor to the RGB color represented by the tuple of *r*, *g*, and "
"*b*. Each of *r*, *g*, and *b* must be in the range 0..colormode, where "
"colormode is either 1.0 or 255 (see :func:`colormode`)."
msgstr ""
#: ../Doc/library/turtle.rst:932
msgid "``fillcolor(r, g, b)``"
msgstr "``fillcolor(r, g, b)``"
#: ../Doc/library/turtle.rst:928
msgid ""
"Set fillcolor to the RGB color represented by *r*, *g*, and *b*. Each of "
"*r*, *g*, and *b* must be in the range 0..colormode."
msgstr ""
#: ../Doc/library/turtle.rst:931
msgid ""
"If turtleshape is a polygon, the interior of that polygon is drawn with the "
"newly set fillcolor."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:951
2016-10-30 09:46:26 +00:00
msgid "Return or set pencolor and fillcolor."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:953
2016-10-30 09:46:26 +00:00
msgid ""
"Several input formats are allowed. They use 0 to 3 arguments as follows:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:959
2016-10-30 09:46:26 +00:00
msgid "``color()``"
msgstr "``color()``"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:957
2016-10-30 09:46:26 +00:00
msgid ""
"Return the current pencolor and the current fillcolor as a pair of color "
"specification strings or tuples as returned by :func:`pencolor` and :func:"
"`fillcolor`."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:963
2016-10-30 09:46:26 +00:00
msgid "``color(colorstring)``, ``color((r,g,b))``, ``color(r,g,b)``"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:962
2016-10-30 09:46:26 +00:00
msgid ""
"Inputs as in :func:`pencolor`, set both, fillcolor and pencolor, to the given "
"value."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:970
msgid "``color(colorstring1, colorstring2)``, ``color((r1,g1,b1), (r2,g2,b2))``"
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:966
2016-10-30 09:46:26 +00:00
msgid ""
"Equivalent to ``pencolor(colorstring1)`` and ``fillcolor(colorstring2)`` and "
"analogously if the other input format is used."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:969
2016-10-30 09:46:26 +00:00
msgid ""
"If turtleshape is a polygon, outline and interior of that polygon is drawn "
"with the newly set colors."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:982
2016-10-30 09:46:26 +00:00
msgid "See also: Screen method :func:`colormode`."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:995
2016-10-30 09:46:26 +00:00
msgid "Return fillstate (``True`` if filling, ``False`` else)."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1009
2016-10-30 09:46:26 +00:00
msgid "To be called just before drawing a shape to be filled."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1014
2016-10-30 09:46:26 +00:00
msgid "Fill the shape drawn after the last call to :func:`begin_fill`."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1029
2016-10-30 09:46:26 +00:00
msgid ""
"Delete the turtle's drawings from the screen, re-center the turtle and set "
"variables to the default values."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1049
2016-10-30 09:46:26 +00:00
msgid ""
"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."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1055
2016-10-30 09:46:26 +00:00
msgid "object to be written to the TurtleScreen"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1056
2016-10-30 09:46:26 +00:00
msgid "True/False"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1057
2016-10-30 09:46:26 +00:00
msgid "one of the strings \"left\", \"center\" or right\""
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1058
2016-10-30 09:46:26 +00:00
msgid "a triple (fontname, fontsize, fonttype)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1060
2016-10-30 09:46:26 +00:00
msgid ""
"Write text - the string representation of *arg* - at the current turtle "
"position according to *align* (\"left\", \"center\" or right\") and with the "
"given font. If *move* is true, the pen is moved to the bottom-right corner "
"of the text. By default, *move* is ``False``."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1078
2016-10-30 09:46:26 +00:00
msgid ""
"Make the turtle invisible. It's a good idea to do this while you're in the "
"middle of doing some complex drawing, because hiding the turtle speeds up the "
"drawing observably."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1090
2016-10-30 09:46:26 +00:00
msgid "Make the turtle visible."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1099
2016-10-30 09:46:26 +00:00
msgid "Return ``True`` if the Turtle is shown, ``False`` if it's hidden."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1114
2016-10-30 09:46:26 +00:00
msgid "a string which is a valid shapename"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1116
2016-10-30 09:46:26 +00:00
msgid ""
"Set turtle shape to shape with given *name* or, if name is not given, return "
"name of current shape. Shape with *name* must exist in the TurtleScreen's "
"shape dictionary. Initially there are the following polygon shapes: \"arrow"
"\", \"turtle\", \"circle\", \"square\", \"triangle\", \"classic\". To learn "
"about how to deal with shapes see Screen method :func:`register_shape`."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1133
2016-10-30 09:46:26 +00:00
msgid "one of the strings \"auto\", \"user\", \"noresize\""
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1135
2016-10-30 09:46:26 +00:00
msgid ""
"Set resizemode to one of the values: \"auto\", \"user\", \"noresize\". If "
"*rmode* is not given, return current resizemode. Different resizemodes have "
"the following effects:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1139
2016-10-30 09:46:26 +00:00
msgid ""
"\"auto\": adapts the appearance of the turtle corresponding to the value of "
"pensize."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1140
2016-10-30 09:46:26 +00:00
msgid ""
"\"user\": adapts the appearance of the turtle according to the values of "
"stretchfactor and outlinewidth (outline), which are set by :func:`shapesize`."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1143
2016-10-30 09:46:26 +00:00
msgid "\"noresize\": no adaption of the turtle's appearance takes place."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1145
2016-10-30 09:46:26 +00:00
msgid ""
"resizemode(\"user\") is called by :func:`shapesize` when used with arguments."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1159 ../Doc/library/turtle.rst:1160
#: ../Doc/library/turtle.rst:1161
2016-10-30 09:46:26 +00:00
msgid "positive number"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1163
2016-10-30 09:46:26 +00:00
msgid ""
"Return or set the pen's attributes x/y-stretchfactors and/or outline. Set "
"resizemode to \"user\". If and only if resizemode is set to \"user\", the "
"turtle will be displayed stretched according to its stretchfactors: "
"*stretch_wid* is stretchfactor perpendicular to its orientation, "
"*stretch_len* is stretchfactor in direction of its orientation, *outline* "
"determines the width of the shapes's outline."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1185 ../Doc/library/turtle.rst:1810
#: ../Doc/library/turtle.rst:1811 ../Doc/library/turtle.rst:1812
2016-10-30 09:46:26 +00:00
msgid "number (optional)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1187
2016-10-30 09:46:26 +00:00
msgid ""
"Set or return the current shearfactor. Shear the turtleshape according to the "
"given shearfactor shear, which is the tangent of the shear angle. Do *not* "
"change the turtle's heading (direction of movement). If shear is not given: "
"return the current shearfactor, i. e. the tangent of the shear angle, by "
"which lines parallel to the heading of the turtle are sheared."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1207
2016-10-30 09:46:26 +00:00
msgid ""
"Rotate the turtleshape by *angle* from its current tilt-angle, but do *not* "
"change the turtle's heading (direction of movement)."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1225
2016-10-30 09:46:26 +00:00
msgid ""
"Rotate the turtleshape to point in the direction specified by *angle*, "
"regardless of its current tilt-angle. *Do not* change the turtle's heading "
"(direction of movement)."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1244 ../Doc/library/turtle.rst:1266
#: ../Doc/library/turtle.rst:1267 ../Doc/library/turtle.rst:1268
#: ../Doc/library/turtle.rst:1269
2016-10-30 09:46:26 +00:00
msgid "a number (optional)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1246
2016-10-30 09:46:26 +00:00
msgid ""
"Set or return the current tilt-angle. If angle is given, rotate the "
"turtleshape to point in the direction specified by angle, regardless of its "
"current tilt-angle. Do *not* change the turtle's heading (direction of "
"movement). If angle is not given: return the current tilt-angle, i. e. the "
"angle between the orientation of the turtleshape and the heading of the "
"turtle (its direction of movement)."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1271
2016-10-30 09:46:26 +00:00
msgid "Set or return the current transformation matrix of the turtle shape."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1273
2016-10-30 09:46:26 +00:00
msgid ""
"If none of the matrix elements are given, return the transformation matrix as "
"a tuple of 4 elements. Otherwise set the given elements and transform the "
2016-10-30 09:46:26 +00:00
"turtleshape according to the matrix consisting of first row t11, t12 and "
"second row t21, 22. The determinant t11 * t22 - t12 * t21 must not be zero, "
"otherwise an error is raised. Modify stretchfactor, shearfactor and tiltangle "
"according to the given matrix."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1294
2016-10-30 09:46:26 +00:00
msgid ""
"Return the current shape polygon as tuple of coordinate pairs. This can be "
"used to define a new shape or components of a compound shape."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1310 ../Doc/library/turtle.rst:1331
#: ../Doc/library/turtle.rst:1355 ../Doc/library/turtle.rst:1736
2016-10-30 09:46:26 +00:00
msgid ""
"a function with two arguments which will be called with the coordinates of "
"the clicked point on the canvas"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1312 ../Doc/library/turtle.rst:1333
#: ../Doc/library/turtle.rst:1357 ../Doc/library/turtle.rst:1738
2016-10-30 09:46:26 +00:00
msgid "number of the mouse-button, defaults to 1 (left mouse button)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1313 ../Doc/library/turtle.rst:1334
#: ../Doc/library/turtle.rst:1358 ../Doc/library/turtle.rst:1739
2016-10-30 09:46:26 +00:00
msgid ""
"``True`` or ``False`` -- if ``True``, a new binding will be added, otherwise "
"it will replace a former binding"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1316
2016-10-30 09:46:26 +00:00
msgid ""
"Bind *fun* to mouse-click events on this turtle. If *fun* is ``None``, "
"existing bindings are removed. Example for the anonymous turtle, i.e. the "
"procedural way:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1337
2016-10-30 09:46:26 +00:00
msgid ""
"Bind *fun* to mouse-button-release events on this turtle. If *fun* is "
"``None``, existing bindings are removed."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1361
2016-10-30 09:46:26 +00:00
msgid ""
"Bind *fun* to mouse-move events on this turtle. If *fun* is ``None``, "
"existing bindings are removed."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1364
2016-10-30 09:46:26 +00:00
msgid ""
"Remark: Every sequence of mouse-move-events on a turtle is preceded by a "
"mouse-click event on that turtle."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1371
2016-10-30 09:46:26 +00:00
msgid ""
"Subsequently, clicking and dragging the Turtle will move it across the screen "
"thereby producing handdrawings (if pen is down)."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1380
2016-10-30 09:46:26 +00:00
msgid ""
"Start recording the vertices of a polygon. Current turtle position is first "
"vertex of polygon."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1386
2016-10-30 09:46:26 +00:00
msgid ""
"Stop recording the vertices of a polygon. Current turtle position is last "
"vertex of polygon. This will be connected with the first vertex."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1392
2016-10-30 09:46:26 +00:00
msgid "Return the last recorded polygon."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1410
2016-10-30 09:46:26 +00:00
msgid ""
"Create and return a clone of the turtle with same position, heading and "
"turtle properties."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1422
2016-10-30 09:46:26 +00:00
msgid ""
"Return the Turtle object itself. Only reasonable use: as a function to "
"return the \"anonymous turtle\":"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1435
2016-10-30 09:46:26 +00:00
msgid ""
"Return the :class:`TurtleScreen` object the turtle is drawing on. "
"TurtleScreen methods can then be called for that object."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1448
2016-10-30 09:46:26 +00:00
msgid "an integer or ``None``"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1450
2016-10-30 09:46:26 +00:00
msgid ""
"Set or disable undobuffer. If *size* is an integer an empty undobuffer of "
"given size is installed. *size* gives the maximum number of turtle actions "
"that can be undone by the :func:`undo` method/function. If *size* is "
"``None``, the undobuffer is disabled."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1462
2016-10-30 09:46:26 +00:00
msgid "Return number of entries in the undobuffer."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1474
2016-10-30 09:46:26 +00:00
msgid "Compound shapes"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1476
2016-10-30 09:46:26 +00:00
msgid ""
"To use compound turtle shapes, which consist of several polygons of different "
"color, you must use the helper class :class:`Shape` explicitly as described "
"below:"
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1480
2016-10-30 09:46:26 +00:00
msgid "Create an empty Shape object of type \"compound\"."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1481
2016-10-30 09:46:26 +00:00
msgid ""
"Add as many components to this object as desired, using the :meth:"
"`addcomponent` method."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1484
2016-10-30 09:46:26 +00:00
msgid "For example:"
msgstr "Par exemple ::"
2016-10-30 09:46:26 +00:00
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1494
2016-10-30 09:46:26 +00:00
msgid "Now add the Shape to the Screen's shapelist and use it:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1504
2016-10-30 09:46:26 +00:00
msgid ""
"The :class:`Shape` class is used internally by the :func:`register_shape` "
"method in different ways. The application programmer has to deal with the "
"Shape class *only* when using compound shapes like shown above!"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1510
2016-10-30 09:46:26 +00:00
msgid "Methods of TurtleScreen/Screen and corresponding functions"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1512
2016-10-30 09:46:26 +00:00
msgid ""
"Most of the examples in this section refer to a TurtleScreen instance called "
"``screen``."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1525
2016-10-30 09:46:26 +00:00
msgid ""
"a color string or three numbers in the range 0..colormode or a 3-tuple of "
"such numbers"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1529
2016-10-30 09:46:26 +00:00
msgid "Set or return background color of the TurtleScreen."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1543
2016-10-30 09:46:26 +00:00
msgid "a string, name of a gif-file or ``\"nopic\"``, or ``None``"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1545
2016-10-30 09:46:26 +00:00
msgid ""
"Set background image or return name of current backgroundimage. If *picname* "
"is a filename, set the corresponding image as background. If *picname* is ``"
"\"nopic\"``, delete background image, if present. If *picname* is ``None``, "
"return the filename of the current backgroundimage. ::"
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1560
2016-10-30 09:46:26 +00:00
msgid ""
"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."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1565
2016-10-30 09:46:26 +00:00
msgid ""
"This TurtleScreen method is available as a global function only under the "
"name ``clearscreen``. The global function ``clear`` is a different one "
"derived from the Turtle method ``clear``."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1573
2016-10-30 09:46:26 +00:00
msgid "Reset all Turtles on the Screen to their initial state."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1576
2016-10-30 09:46:26 +00:00
msgid ""
"This TurtleScreen method is available as a global function only under the "
"name ``resetscreen``. The global function ``reset`` is another one derived "
"from the Turtle method ``reset``."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1583
2016-10-30 09:46:26 +00:00
msgid "positive integer, new width of canvas in pixels"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1584
2016-10-30 09:46:26 +00:00
msgid "positive integer, new height of canvas in pixels"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1585
2016-10-30 09:46:26 +00:00
msgid "colorstring or color-tuple, new background color"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1587
2016-10-30 09:46:26 +00:00
msgid ""
"If no arguments are given, return current (canvaswidth, canvasheight). Else "
"resize the canvas the turtles are drawing on. Do not alter the drawing "
"window. To observe hidden parts of the canvas, use the scrollbars. With this "
"method, one can make visible those parts of a drawing which were outside the "
"canvas before."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1599
2016-10-30 09:46:26 +00:00
msgid "e.g. to search for an erroneously escaped turtle ;-)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1604
2016-10-30 09:46:26 +00:00
msgid "a number, x-coordinate of lower left corner of canvas"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1605
2016-10-30 09:46:26 +00:00
msgid "a number, y-coordinate of lower left corner of canvas"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1606
2016-10-30 09:46:26 +00:00
msgid "a number, x-coordinate of upper right corner of canvas"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1607
2016-10-30 09:46:26 +00:00
msgid "a number, y-coordinate of upper right corner of canvas"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1609
2016-10-30 09:46:26 +00:00
msgid ""
"Set up user-defined coordinate system and switch to mode \"world\" if "
"necessary. This performs a ``screen.reset()``. If mode \"world\" is already "
"active, all drawings are redrawn according to the new coordinates."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1613
2016-10-30 09:46:26 +00:00
msgid ""
"**ATTENTION**: in user-defined coordinate systems angles may appear distorted."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1639
2016-10-30 09:46:26 +00:00
msgid "positive integer"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1641
2016-10-30 09:46:26 +00:00
msgid ""
"Set or return the drawing *delay* in milliseconds. (This is approximately "
"the time interval between two consecutive canvas updates.) The longer the "
"drawing delay, the slower the animation."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1645
2016-10-30 09:46:26 +00:00
msgid "Optional argument:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1658 ../Doc/library/turtle.rst:1659
2016-10-30 09:46:26 +00:00
msgid "nonnegative integer"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1661
2016-10-30 09:46:26 +00:00
msgid ""
"Turn turtle animation on/off and set delay for update drawings. If *n* is "
"given, only each n-th regular screen update is really performed. (Can be "
"used to accelerate the drawing of complex graphics.) When called without "
"arguments, returns the currently stored value of n. Second argument sets "
"delay value (see :func:`delay`)."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1680
2016-10-30 09:46:26 +00:00
msgid "Perform a TurtleScreen update. To be used when tracer is turned off."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1682
2016-10-30 09:46:26 +00:00
msgid "See also the RawTurtle/Turtle method :func:`speed`."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1690
2016-10-30 09:46:26 +00:00
msgid ""
"Set focus on TurtleScreen (in order to collect key-events). Dummy arguments "
"are provided in order to be able to pass :func:`listen` to the onclick method."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1697 ../Doc/library/turtle.rst:1716
2016-10-30 09:46:26 +00:00
msgid "a function with no arguments or ``None``"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1698 ../Doc/library/turtle.rst:1717
2016-10-30 09:46:26 +00:00
msgid "a string: key (e.g. \"a\") or key-symbol (e.g. \"space\")"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1700
2016-10-30 09:46:26 +00:00
msgid ""
"Bind *fun* to key-release event of key. If *fun* is ``None``, event bindings "
"are removed. Remark: in order to be able to register key-events, TurtleScreen "
"must have the focus. (See method :func:`listen`.)"
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1719
2016-10-30 09:46:26 +00:00
msgid ""
"Bind *fun* to key-press event of key if key is given, or to any key-press-"
"event if no key is given. Remark: in order to be able to register key-events, "
"TurtleScreen must have focus. (See method :func:`listen`.)"
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1742
2016-10-30 09:46:26 +00:00
msgid ""
"Bind *fun* to mouse-click events on this screen. If *fun* is ``None``, "
"existing bindings are removed."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1745
2016-10-30 09:46:26 +00:00
msgid ""
"Example for a TurtleScreen instance named ``screen`` and a Turtle instance "
"named turtle:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1755
2016-10-30 09:46:26 +00:00
msgid ""
"This TurtleScreen method is available as a global function only under the "
"name ``onscreenclick``. The global function ``onclick`` is another one "
"derived from the Turtle method ``onclick``."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1762
2016-10-30 09:46:26 +00:00
msgid "a function with no arguments"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1763
2016-10-30 09:46:26 +00:00
msgid "a number >= 0"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1765
2016-10-30 09:46:26 +00:00
msgid "Install a timer that calls *fun* after *t* milliseconds."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1782
2016-10-30 09:46:26 +00:00
msgid ""
"Starts event loop - calling Tkinter's mainloop function. Must be the last "
"statement in a turtle graphics program. Must *not* be used if a script is run "
"from within IDLE in -n mode (No subprocess) - for interactive use of turtle "
"graphics. ::"
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1795 ../Doc/library/turtle.rst:1796
#: ../Doc/library/turtle.rst:1808 ../Doc/library/turtle.rst:1809
2016-10-30 09:46:26 +00:00
msgid "string"
msgstr "*string*"
2016-10-30 09:46:26 +00:00
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1798
2016-10-30 09:46:26 +00:00
msgid ""
"Pop up a dialog window for input of a string. Parameter title is the title of "
"the dialog window, prompt is a text mostly describing what information to "
"input. Return the string input. If the dialog is canceled, return ``None``. ::"
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1814
2016-10-30 09:46:26 +00:00
msgid ""
"Pop up a dialog window for input of a number. title is the title of the "
"dialog window, prompt is a text mostly describing what numerical information "
"to input. default: default value, minval: minimum value for input, maxval: "
"maximum value for input The number input must be in the range minval .. "
"maxval if these are given. If not, a hint is issued and the dialog remains "
"open for correction. Return the number input. If the dialog is canceled, "
"return ``None``. ::"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1831
2016-10-30 09:46:26 +00:00
msgid "one of the strings \"standard\", \"logo\" or \"world\""
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1833
2016-10-30 09:46:26 +00:00
msgid ""
"Set turtle mode (\"standard\", \"logo\" or \"world\") and perform reset. If "
"mode is not given, current mode is returned."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1836
2016-10-30 09:46:26 +00:00
msgid ""
"Mode \"standard\" is compatible with old :mod:`turtle`. Mode \"logo\" is "
"compatible with most Logo turtle graphics. Mode \"world\" uses user-defined "
"\"world coordinates\". **Attention**: in this mode angles appear distorted if "
"``x/y`` unit-ratio doesn't equal 1."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1842
2016-10-30 09:46:26 +00:00
msgid "Mode"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1842
2016-10-30 09:46:26 +00:00
msgid "Initial turtle heading"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1842
2016-10-30 09:46:26 +00:00
msgid "positive angles"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1844
2016-10-30 09:46:26 +00:00
msgid "\"standard\""
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1844
2016-10-30 09:46:26 +00:00
msgid "to the right (east)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1844
2016-10-30 09:46:26 +00:00
msgid "counterclockwise"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1845
2016-10-30 09:46:26 +00:00
msgid "\"logo\""
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1845
2016-10-30 09:46:26 +00:00
msgid "upward (north)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1845
2016-10-30 09:46:26 +00:00
msgid "clockwise"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1857
2016-10-30 09:46:26 +00:00
msgid "one of the values 1.0 or 255"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1859
2016-10-30 09:46:26 +00:00
msgid ""
"Return the colormode or set it to 1.0 or 255. Subsequently *r*, *g*, *b* "
"values of color triples have to be in the range 0..\\ *cmode*."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1879
2016-10-30 09:46:26 +00:00
msgid ""
"Return the Canvas of this TurtleScreen. Useful for insiders who know what to "
"do with a Tkinter Canvas."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1891
2016-10-30 09:46:26 +00:00
msgid "Return a list of names of all currently available turtle shapes."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1902
2016-10-30 09:46:26 +00:00
msgid "There are three different ways to call this function:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1904
2016-10-30 09:46:26 +00:00
msgid ""
"*name* is the name of a gif-file and *shape* is ``None``: Install the "
"corresponding image shape. ::"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1910
2016-10-30 09:46:26 +00:00
msgid ""
"Image shapes *do not* rotate when turning the turtle, so they do not display "
"the heading of the turtle!"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1913
2016-10-30 09:46:26 +00:00
msgid ""
"*name* is an arbitrary string and *shape* is a tuple of pairs of coordinates: "
"Install the corresponding polygon shape."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1920
2016-10-30 09:46:26 +00:00
msgid ""
"*name* is an arbitrary string and shape is a (compound) :class:`Shape` "
"object: Install the corresponding compound shape."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1923
2016-10-30 09:46:26 +00:00
msgid ""
"Add a turtle shape to TurtleScreen's shapelist. Only thusly registered "
"shapes can be used by issuing the command ``shape(shapename)``."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1929
2016-10-30 09:46:26 +00:00
msgid "Return the list of turtles on the screen."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1939
2016-10-30 09:46:26 +00:00
msgid "Return the height of the turtle window. ::"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1947
2016-10-30 09:46:26 +00:00
msgid "Return the width of the turtle window. ::"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1956
2016-10-30 09:46:26 +00:00
msgid "Methods specific to Screen, not inherited from TurtleScreen"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1960
2016-10-30 09:46:26 +00:00
msgid "Shut the turtlegraphics window."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1965
2016-10-30 09:46:26 +00:00
msgid "Bind bye() method to mouse clicks on the Screen."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1968
2016-10-30 09:46:26 +00:00
msgid ""
"If the value \"using_IDLE\" in the configuration dictionary is ``False`` "
"(default value), also enter mainloop. Remark: If IDLE with the ``-n`` switch "
"(no subprocess) is used, this value should be set to ``True`` in :file:"
"`turtle.cfg`. In this case IDLE's own mainloop is active also for the client "
"script."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1977
2016-10-30 09:46:26 +00:00
msgid ""
"Set the size and position of the main window. Default values of arguments "
"are stored in the configuration dictionary and can be changed via a :file:"
"`turtle.cfg` file."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1981
2016-10-30 09:46:26 +00:00
msgid ""
"if an integer, a size in pixels, if a float, a fraction of the screen; "
"default is 50% of screen"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1983
2016-10-30 09:46:26 +00:00
msgid ""
"if an integer, the height in pixels, if a float, a fraction of the screen; "
"default is 75% of screen"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1985
2016-10-30 09:46:26 +00:00
msgid ""
"if positive, starting position in pixels from the left edge of the screen, if "
"negative from the right edge, if ``None``, center window horizontally"
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:1988
2016-10-30 09:46:26 +00:00
msgid ""
"if positive, starting position in pixels from the top edge of the screen, if "
"negative from the bottom edge, if ``None``, center window vertically"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2002
2016-10-30 09:46:26 +00:00
msgid "a string that is shown in the titlebar of the turtle graphics window"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2005
2016-10-30 09:46:26 +00:00
msgid "Set title of turtle window to *titlestring*."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2013
2016-10-30 09:46:26 +00:00
msgid "Public classes"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2019
2016-10-30 09:46:26 +00:00
msgid ""
"a :class:`tkinter.Canvas`, a :class:`ScrolledCanvas` or a :class:"
"`TurtleScreen`"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2022
2016-10-30 09:46:26 +00:00
msgid ""
"Create a turtle. The turtle has all methods described above as \"methods of "
"Turtle/RawTurtle\"."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2028
2016-10-30 09:46:26 +00:00
msgid ""
"Subclass of RawTurtle, has the same interface but draws on a default :class:"
"`Screen` object created automatically when needed for the first time."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2034
2016-10-30 09:46:26 +00:00
msgid "a :class:`tkinter.Canvas`"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2036
2016-10-30 09:46:26 +00:00
msgid ""
"Provides screen oriented methods like :func:`setbg` etc. that are described "
"above."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2041
2016-10-30 09:46:26 +00:00
msgid ""
"Subclass of TurtleScreen, with :ref:`four methods added <screenspecific>`."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2046
2016-10-30 09:46:26 +00:00
msgid ""
"some Tkinter widget to contain the ScrolledCanvas, i.e. a Tkinter-canvas with "
"scrollbars added"
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2049
2016-10-30 09:46:26 +00:00
msgid ""
"Used by class Screen, which thus automatically provides a ScrolledCanvas as "
"playground for the turtles."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2054
2016-10-30 09:46:26 +00:00
msgid "one of the strings \"polygon\", \"image\", \"compound\""
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2056
2016-10-30 09:46:26 +00:00
msgid ""
"Data structure modeling shapes. The pair ``(type_, data)`` must follow this "
"specification:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2061
2016-10-30 09:46:26 +00:00
msgid "*type_*"
msgstr "*type_*"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2061
2016-10-30 09:46:26 +00:00
msgid "*data*"
msgstr "*data*"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2063
2016-10-30 09:46:26 +00:00
msgid "\"polygon\""
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2063
2016-10-30 09:46:26 +00:00
msgid "a polygon-tuple, i.e. a tuple of pairs of coordinates"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2064
2016-10-30 09:46:26 +00:00
msgid "\"image\""
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2064
2016-10-30 09:46:26 +00:00
msgid "an image (in this form only used internally!)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2065
2016-10-30 09:46:26 +00:00
msgid "\"compound\""
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2065
2016-10-30 09:46:26 +00:00
msgid ""
"``None`` (a compound shape has to be constructed using the :meth:"
"`addcomponent` method)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2071
2016-10-30 09:46:26 +00:00
msgid "a polygon, i.e. a tuple of pairs of numbers"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2072
2016-10-30 09:46:26 +00:00
msgid "a color the *poly* will be filled with"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2073
2016-10-30 09:46:26 +00:00
msgid "a color for the poly's outline (if given)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2075
2016-10-30 09:46:26 +00:00
msgid "Example:"
msgstr "Exemple :"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2084
2016-10-30 09:46:26 +00:00
msgid "See :ref:`compoundshapes`."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2089
2016-10-30 09:46:26 +00:00
msgid ""
"A two-dimensional vector class, used as a helper class for implementing "
"turtle graphics. May be useful for turtle graphics programs too. Derived "
"from tuple, so a vector is a tuple!"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2093
2016-10-30 09:46:26 +00:00
msgid "Provides (for *a*, *b* vectors, *k* number):"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2095
2016-10-30 09:46:26 +00:00
msgid "``a + b`` vector addition"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2096
2016-10-30 09:46:26 +00:00
msgid "``a - b`` vector subtraction"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2097
2016-10-30 09:46:26 +00:00
msgid "``a * b`` inner product"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2098
2016-10-30 09:46:26 +00:00
msgid "``k * a`` and ``a * k`` multiplication with scalar"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2099
2016-10-30 09:46:26 +00:00
msgid "``abs(a)`` absolute value of a"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2100
2016-10-30 09:46:26 +00:00
msgid "``a.rotate(angle)`` rotation"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2104
2016-10-30 09:46:26 +00:00
msgid "Help and configuration"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2107
2016-10-30 09:46:26 +00:00
msgid "How to use help"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2109
2016-10-30 09:46:26 +00:00
msgid ""
"The public methods of the Screen and Turtle classes are documented "
"extensively via docstrings. So these can be used as online-help via the "
"Python help facilities:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2113
2016-10-30 09:46:26 +00:00
msgid ""
"When using IDLE, tooltips show the signatures and first lines of the "
"docstrings of typed in function-/method calls."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2116
2016-10-30 09:46:26 +00:00
msgid "Calling :func:`help` on methods or functions displays the docstrings::"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2147
2016-10-30 09:46:26 +00:00
msgid ""
"The docstrings of the functions which are derived from methods have a "
"modified form::"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2181
2016-10-30 09:46:26 +00:00
msgid ""
"These modified docstrings are created automatically together with the "
"function definitions that are derived from the methods at import time."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2186
2016-10-30 09:46:26 +00:00
msgid "Translation of docstrings into different languages"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2188
2016-10-30 09:46:26 +00:00
msgid ""
"There is a utility to create a dictionary the keys of which are the method "
"names and the values of which are the docstrings of the public methods of the "
"classes Screen and Turtle."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2194
2016-10-30 09:46:26 +00:00
msgid "a string, used as filename"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2196
2016-10-30 09:46:26 +00:00
msgid ""
"Create and write docstring-dictionary to a Python script with the given "
"filename. This function has to be called explicitly (it is not used by the "
"turtle graphics classes). The docstring dictionary will be written to the "
"Python script :file:`{filename}.py`. It is intended to serve as a template "
"for translation of the docstrings into different languages."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2202
2016-10-30 09:46:26 +00:00
msgid ""
"If you (or your students) want to use :mod:`turtle` with online help in your "
"native language, you have to translate the docstrings and save the resulting "
"file as e.g. :file:`turtle_docstringdict_german.py`."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2206
2016-10-30 09:46:26 +00:00
msgid ""
"If you have an appropriate entry in your :file:`turtle.cfg` file this "
"dictionary will be read in at import time and will replace the original "
"English docstrings."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2209
2016-10-30 09:46:26 +00:00
msgid ""
"At the time of this writing there are docstring dictionaries in German and in "
"Italian. (Requests please to glingl@aon.at.)"
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2215
2016-10-30 09:46:26 +00:00
msgid "How to configure Screen and Turtles"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2217
2016-10-30 09:46:26 +00:00
msgid ""
"The built-in default configuration mimics the appearance and behaviour of the "
"old turtle module in order to retain best possible compatibility with it."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2220
2016-10-30 09:46:26 +00:00
msgid ""
"If you want to use a different configuration which better reflects the "
"features of this module or which better fits to your needs, e.g. for use in a "
"classroom, you can prepare a configuration file ``turtle.cfg`` which will be "
"read at import time and modify the configuration according to its settings."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2225
2016-10-30 09:46:26 +00:00
msgid ""
"The built in configuration would correspond to the following turtle.cfg::"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2248
2016-10-30 09:46:26 +00:00
msgid "Short explanation of selected entries:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2250
2016-10-30 09:46:26 +00:00
msgid ""
"The first four lines correspond to the arguments of the :meth:`Screen.setup` "
"method."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2252
2016-10-30 09:46:26 +00:00
msgid ""
"Line 5 and 6 correspond to the arguments of the method :meth:`Screen."
"screensize`."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2254
2016-10-30 09:46:26 +00:00
msgid ""
"*shape* can be any of the built-in shapes, e.g: arrow, turtle, etc. For more "
"info try ``help(shape)``."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2256
2016-10-30 09:46:26 +00:00
msgid ""
"If you want to use no fillcolor (i.e. make the turtle transparent), you have "
"to write ``fillcolor = \"\"`` (but all nonempty strings must not have quotes "
"in the cfg-file)."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2259
2016-10-30 09:46:26 +00:00
msgid ""
"If you want to reflect the turtle its state, you have to use ``resizemode = "
"auto``."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2261
2016-10-30 09:46:26 +00:00
msgid ""
"If you set e.g. ``language = italian`` the docstringdict :file:"
"`turtle_docstringdict_italian.py` will be loaded at import time (if present "
"on the import path, e.g. in the same directory as :mod:`turtle`."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2264
2016-10-30 09:46:26 +00:00
msgid ""
"The entries *exampleturtle* and *examplescreen* define the names of these "
"objects as they occur in the docstrings. The transformation of method-"
"docstrings to function-docstrings will delete these names from the docstrings."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2268
2016-10-30 09:46:26 +00:00
msgid ""
"*using_IDLE*: Set this to ``True`` if you regularly work with IDLE and its -n "
"switch (\"no subprocess\"). This will prevent :func:`exitonclick` to enter "
"the mainloop."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2272
2016-10-30 09:46:26 +00:00
msgid ""
"There can be a :file:`turtle.cfg` file in the directory where :mod:`turtle` "
"is stored and an additional one in the current working directory. The latter "
"will override the settings of the first one."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2276
2016-10-30 09:46:26 +00:00
msgid ""
"The :file:`Lib/turtledemo` directory contains a :file:`turtle.cfg` file. You "
"can study it as an example and see its effects when running the demos "
2016-10-30 09:46:26 +00:00
"(preferably not from within the demo-viewer)."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2282
2016-10-30 09:46:26 +00:00
msgid ":mod:`turtledemo` --- Demo scripts"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2287
2016-10-30 09:46:26 +00:00
msgid ""
"The :mod:`turtledemo` package includes a set of demo scripts. These scripts "
"can be run and viewed using the supplied demo viewer as follows::"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2292
2016-10-30 09:46:26 +00:00
msgid ""
"Alternatively, you can run the demo scripts individually. For example, ::"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2296
2016-10-30 09:46:26 +00:00
msgid "The :mod:`turtledemo` package directory contains:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2298
2016-10-30 09:46:26 +00:00
msgid ""
"A demo viewer :file:`__main__.py` which can be used to view the sourcecode of "
"the scripts and run them at the same time."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2300
2016-10-30 09:46:26 +00:00
msgid ""
"Multiple scripts demonstrating different features of the :mod:`turtle` "
"module. Examples can be accessed via the Examples menu. They can also be "
"run standalone."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2303
2016-10-30 09:46:26 +00:00
msgid ""
"A :file:`turtle.cfg` file which serves as an example of how to write and use "
"such files."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2306
2016-10-30 09:46:26 +00:00
msgid "The demo scripts are:"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2311
2016-10-30 09:46:26 +00:00
msgid "Name"
msgstr "Nom"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2311
2016-10-30 09:46:26 +00:00
msgid "Description"
msgstr "Description"
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2311
2016-10-30 09:46:26 +00:00
msgid "Features"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2313
2016-10-30 09:46:26 +00:00
msgid "bytedesign"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2313
2016-10-30 09:46:26 +00:00
msgid "complex classical turtle graphics pattern"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2313
2016-10-30 09:46:26 +00:00
msgid ":func:`tracer`, delay, :func:`update`"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2316
2016-10-30 09:46:26 +00:00
msgid "chaos"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2316
2016-10-30 09:46:26 +00:00
msgid ""
"graphs Verhulst dynamics, shows that computer's computations can generate "
"results sometimes against the common sense expectations"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2316
2016-10-30 09:46:26 +00:00
msgid "world coordinates"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2322
2016-10-30 09:46:26 +00:00
msgid "clock"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2322
2016-10-30 09:46:26 +00:00
msgid "analog clock showing time of your computer"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2322
2016-10-30 09:46:26 +00:00
msgid "turtles as clock's hands, ontimer"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2325
2016-10-30 09:46:26 +00:00
msgid "colormixer"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2325
2016-10-30 09:46:26 +00:00
msgid "experiment with r, g, b"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2327
2016-10-30 09:46:26 +00:00
msgid "forest"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2327
2016-10-30 09:46:26 +00:00
msgid "3 breadth-first trees"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2327
2016-10-30 09:46:26 +00:00
msgid "randomization"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2329
2016-10-30 09:46:26 +00:00
msgid "fractalcurves"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2329
2016-10-30 09:46:26 +00:00
msgid "Hilbert & Koch curves"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2329
2016-10-30 09:46:26 +00:00
msgid "recursion"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2331
2016-10-30 09:46:26 +00:00
msgid "lindenmayer"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2331
2016-10-30 09:46:26 +00:00
msgid "ethnomathematics (indian kolams)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2331
2016-10-30 09:46:26 +00:00
msgid "L-System"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2334
2016-10-30 09:46:26 +00:00
msgid "minimal_hanoi"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2334
2016-10-30 09:46:26 +00:00
msgid "Towers of Hanoi"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2334
2016-10-30 09:46:26 +00:00
msgid "Rectangular Turtles as Hanoi discs (shape, shapesize)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2338
2016-10-30 09:46:26 +00:00
msgid "nim"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2338
2016-10-30 09:46:26 +00:00
msgid ""
"play the classical nim game with three heaps of sticks against the computer."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2338
2016-10-30 09:46:26 +00:00
msgid "turtles as nimsticks, event driven (mouse, keyboard)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2342
2016-10-30 09:46:26 +00:00
msgid "paint"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2342
2016-10-30 09:46:26 +00:00
msgid "super minimalistic drawing program"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2345
2016-10-30 09:46:26 +00:00
msgid "peace"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2345
2016-10-30 09:46:26 +00:00
msgid "elementary"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2345
2016-10-30 09:46:26 +00:00
msgid "turtle: appearance and animation"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2348
2016-10-30 09:46:26 +00:00
msgid "penrose"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2348
2016-10-30 09:46:26 +00:00
msgid "aperiodic tiling with kites and darts"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2351
2016-10-30 09:46:26 +00:00
msgid "planet_and_moon"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2351
2016-10-30 09:46:26 +00:00
msgid "simulation of gravitational system"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2351
2016-10-30 09:46:26 +00:00
msgid "compound shapes, :class:`Vec2D`"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2354
2016-10-30 09:46:26 +00:00
msgid "round_dance"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2354
2016-10-30 09:46:26 +00:00
msgid "dancing turtles rotating pairwise in opposite direction"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2354
2016-10-30 09:46:26 +00:00
msgid "compound shapes, clone shapesize, tilt, get_shapepoly, update"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2358
2016-10-30 09:46:26 +00:00
msgid "sorting_animate"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2358
2016-10-30 09:46:26 +00:00
msgid "visual demonstration of different sorting methods"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2358
2016-10-30 09:46:26 +00:00
msgid "simple alignment, randomization"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2361
2016-10-30 09:46:26 +00:00
msgid "tree"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2361
2016-10-30 09:46:26 +00:00
msgid "a (graphical) breadth first tree (using generators)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2364
2016-10-30 09:46:26 +00:00
msgid "two_canvases"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2364
2016-10-30 09:46:26 +00:00
msgid "simple design"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2364
2016-10-30 09:46:26 +00:00
msgid "turtles on two canvases"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2367
2016-10-30 09:46:26 +00:00
msgid "wikipedia"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2367
2016-10-30 09:46:26 +00:00
msgid "a pattern from the wikipedia article on turtle graphics"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2367
2016-10-30 09:46:26 +00:00
msgid ":func:`clone`, :func:`undo`"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2370
2017-08-01 11:29:09 +00:00
msgid "yinyang"
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2370
2016-10-30 09:46:26 +00:00
msgid "another elementary example"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2373
2016-10-30 09:46:26 +00:00
msgid "Have fun!"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2377
2016-10-30 09:46:26 +00:00
msgid "Changes since Python 2.6"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2379
2016-10-30 09:46:26 +00:00
msgid ""
"The methods :meth:`Turtle.tracer`, :meth:`Turtle.window_width` and :meth:"
"`Turtle.window_height` have been eliminated. Methods with these names and "
"functionality are now available only as methods of :class:`Screen`. The "
"functions derived from these remain available. (In fact already in Python 2.6 "
"these methods were merely duplications of the corresponding :class:"
2016-10-30 09:46:26 +00:00
"`TurtleScreen`/:class:`Screen`-methods.)"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2387
2016-10-30 09:46:26 +00:00
msgid ""
"The method :meth:`Turtle.fill` has been eliminated. The behaviour of :meth:"
"`begin_fill` and :meth:`end_fill` have changed slightly: now every filling-"
"process must be completed with an ``end_fill()`` call."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2392
2016-10-30 09:46:26 +00:00
msgid ""
"A method :meth:`Turtle.filling` has been added. It returns a boolean value: "
"``True`` if a filling process is under way, ``False`` otherwise. This "
"behaviour corresponds to a ``fill()`` call without arguments in Python 2.6."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2398
2016-10-30 09:46:26 +00:00
msgid "Changes since Python 3.0"
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2400
2016-10-30 09:46:26 +00:00
msgid ""
"The methods :meth:`Turtle.shearfactor`, :meth:`Turtle.shapetransform` and :"
"meth:`Turtle.get_shapepoly` have been added. Thus the full range of regular "
"linear transforms is now available for transforming turtle shapes. :meth:"
"`Turtle.tiltangle` has been enhanced in functionality: it now can be used to "
"get or set the tiltangle. :meth:`Turtle.settiltangle` has been deprecated."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2407
2016-10-30 09:46:26 +00:00
msgid ""
"The method :meth:`Screen.onkeypress` has been added as a complement to :meth:"
"`Screen.onkey` which in fact binds actions to the keyrelease event. "
"Accordingly the latter has got an alias: :meth:`Screen.onkeyrelease`."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2411
2016-10-30 09:46:26 +00:00
msgid ""
"The method :meth:`Screen.mainloop` has been added. So when working only with "
"Screen and Turtle objects one must not additionally import :func:`mainloop` "
"anymore."
2016-10-30 09:46:26 +00:00
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2415
2016-10-30 09:46:26 +00:00
msgid ""
"Two input methods has been added :meth:`Screen.textinput` and :meth:`Screen."
"numinput`. These popup input dialogs and return strings and numbers "
"respectively."
msgstr ""
2018-06-28 13:32:56 +00:00
#: ../Doc/library/turtle.rst:2419
2016-10-30 09:46:26 +00:00
msgid ""
"Two example scripts :file:`tdemo_nim.py` and :file:`tdemo_round_dance.py` "
"have been added to the :file:`Lib/turtledemo` directory."
msgstr ""