Lines Matching refs:turtle
1157 for turtle in self._turtles:
1158 turtle._setmode(self._mode)
1159 turtle.reset()
2450 self.turtle = _TurtleImage(screen, shape)
2633 turtle = self.turtle
2635 self.turtle = None # too make self deepcopy-able
2640 self.turtle = turtle
2643 q.turtle = _TurtleImage(screen, self.turtle.shapeIndex)
2646 ttype = screen._shapes[self.turtle.shapeIndex]._type
2648 q.turtle._item = screen._createpoly()
2650 q.turtle._item = screen._createimage(screen._shapes["blank"]._data)
2652 q.turtle._item = [screen._createpoly() for item in
2653 screen._shapes[self.turtle.shapeIndex]._data]
2679 return self.turtle.shapeIndex
2682 self.turtle._setshape(name)
2801 shape = screen._shapes[self.turtle.shapeIndex]
2803 titem = self.turtle._item
2868 shape = screen._shapes[self.turtle.shapeIndex]
3433 self.screen._onclick(self.turtle._item, fun, btn, add)
3458 self.screen._onrelease(self.turtle._item, fun, btn, add)
3479 self.screen._ondrag(self.turtle._item, fun, btn, add)
3989 turtle = Turtle()
3990 turtle.resizemode(u"auto")
3991 turtle.shape("turtle")
3992 turtle.reset()
3993 turtle.left(90)
3994 turtle.speed(0)
3995 turtle.up()
3996 turtle.goto(280, 40)
3997 turtle.lt(30)
3998 turtle.down()
3999 turtle.speed(6)
4000 turtle.color("blue",u"orange")
4001 turtle.pensize(2)
4003 setheading(towards(turtle))
4005 while tri.distance(turtle) > 4:
4006 turtle.fd(3.5)
4007 turtle.lt(0.6)
4008 tri.setheading(tri.towards(turtle))
4011 turtle.stamp()
4027 turtle.undo()