MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / title

Method title

tools/python-3.11.9-amd64/Lib/turtle.py:3751–3766  ·  view source on GitHub ↗

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)

Source from the content-addressed store, hash-verified

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

Callers 2

cert_time_to_secondsFunction · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected