Set title of turtle-window Argument: titlestring -- a string, to appear in the titlebar of the turtle graphics window. This is a method of Screen-class. Not available for TurtleScreen- objects. Example (for a Screen instance
(self, titlestring)
| 3749 | self.update() |
| 3750 | |
| 3751 | def title(self, titlestring): |
| 3752 | """Set title of turtle-window |
| 3753 | |
| 3754 | Argument: |
| 3755 | titlestring -- a string, to appear in the titlebar of the |
| 3756 | turtle graphics window. |
| 3757 | |
| 3758 | This is a method of Screen-class. Not available for TurtleScreen- |
| 3759 | objects. |
| 3760 | |
| 3761 | Example (for a Screen instance named screen): |
| 3762 | >>> screen.title("Welcome to the turtle-zoo!") |
| 3763 | """ |
| 3764 | if _Screen._root is not None: |
| 3765 | _Screen._root.title(titlestring) |
| 3766 | _Screen._title = titlestring |
| 3767 | |
| 3768 | def _destroy(self): |
| 3769 | root = self._root |
no outgoing calls
no test coverage detected