Return a list of names of all currently available turtle shapes. No argument. Example (for a TurtleScreen instance named screen): >>> screen.getshapes() ['arrow', 'blank', 'circle', ... , 'turtle']
(self)
| 1235 | return self.cv |
| 1236 | |
| 1237 | def getshapes(self): |
| 1238 | """Return a list of names of all currently available turtle shapes. |
| 1239 | |
| 1240 | No argument. |
| 1241 | |
| 1242 | Example (for a TurtleScreen instance named screen): |
| 1243 | >>> screen.getshapes() |
| 1244 | ['arrow', 'blank', 'circle', ... , 'turtle'] |
| 1245 | """ |
| 1246 | return sorted(self._shapes.keys()) |
| 1247 | |
| 1248 | def onclick(self, fun, btn=1, add=None): |
| 1249 | """Bind fun to mouse-click event on canvas. |