Searched refs:register_shape (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Demo/turtle/ |
D | tdemo_penrose.py | 121 register_shape("kite", get_poly()) 125 register_shape("dart", get_poly())
|
D | tdemo_clock.py | 41 register_shape(name, hand_form)
|
D | tdemo_planet_and_moon.py | 91 s.getscreen().register_shape("planet", planetshape)
|
/external/python/cpython2/Doc/library/ |
D | turtle.rst | 203 | :func:`register_shape` | :func:`addshape` 1110 deal with shapes see Screen method :func:`register_shape`. 1334 >>> register_shape("myFavouriteShape", p) 1441 >>> register_shape("myshape", s) 1447 The :class:`Shape` class is used internally by the :func:`register_shape` 1773 .. function:: register_shape(name, shape=None) 1781 >>> screen.register_shape("turtle.gif") 1792 >>> screen.register_shape("triangle", ((5,-3), (0,5), (-5,-3))) 1956 >>> # ... add more components and then use register_shape()
|
/external/python/cpython2/Lib/lib-tk/ |
D | turtle.py | 1054 def register_shape(self, name, shape=None): member in TurtleScreen 1424 addshape = register_shape
|