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)
| 1337 | return self.cv |
| 1338 | |
| 1339 | def getshapes(self): |
| 1340 | """Return a list of names of all currently available turtle shapes. |
| 1341 | |
| 1342 | No argument. |
| 1343 | |
| 1344 | Example (for a TurtleScreen instance named screen): |
| 1345 | >>> screen.getshapes() |
| 1346 | ['arrow', 'blank', 'circle', ... , 'turtle'] |
| 1347 | """ |
| 1348 | return sorted(self._shapes.keys()) |
| 1349 | |
| 1350 | def onclick(self, fun, btn=1, add=None): |
| 1351 | """Bind fun to mouse-click event on canvas. |