MCPcopy Index your code
hub / github.com/python/cpython / title

Method title

Lib/turtle.py:3880–3895  ·  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 named scr

(self, titlestring)

Source from the content-addressed store, hash-verified

3878 self.update()
3879
3880 def title(self, titlestring):
3881 """Set title of turtle-window
3882
3883 Argument:
3884 titlestring -- a string, to appear in the titlebar of the
3885 turtle graphics window.
3886
3887 This is a method of Screen-class. Not available for TurtleScreen-
3888 objects.
3889
3890 Example (for a Screen instance named screen):
3891 >>> screen.title("Welcome to the turtle-zoo!")
3892 """
3893 if _Screen._root is not None:
3894 _Screen._root.title(titlestring)
3895 _Screen._title = titlestring
3896
3897 def _destroy(self):
3898 root = self._root

Callers 4

cert_time_to_secondsFunction · 0.45
__init__Method · 0.45
showSelectedErrorMethod · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by 2

showSelectedErrorMethod · 0.36
mainFunction · 0.36