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)
| 1364 | return self.cv |
| 1365 | |
| 1366 | def getshapes(self): |
| 1367 | """Return a list of names of all currently available turtle shapes. |
| 1368 | |
| 1369 | No argument. |
| 1370 | |
| 1371 | Example (for a TurtleScreen instance named screen): |
| 1372 | >>> screen.getshapes() |
| 1373 | ['arrow', 'blank', 'circle', ... , 'turtle'] |
| 1374 | """ |
| 1375 | return sorted(self._shapes.keys()) |
| 1376 | |
| 1377 | def onclick(self, fun, btn=1, add=None): |
| 1378 | """Bind fun to mouse-click event on canvas. |