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

Method window_height

Lib/turtle.py:1345–1352  ·  view source on GitHub ↗

Return the height of the turtle window. Example (for a TurtleScreen instance named screen): >>> screen.window_height() 480

(self)

Source from the content-addressed store, hash-verified

1343 return self._window_size()[0]
1344
1345 def window_height(self):
1346 """ Return the height of the turtle window.
1347
1348 Example (for a TurtleScreen instance named screen):
1349 >>> screen.window_height()
1350 480
1351 """
1352 return self._window_size()[1]
1353
1354 def getcanvas(self):
1355 """Return the Canvas of this TurtleScreen.

Callers

nothing calls this directly

Calls 1

_window_sizeMethod · 0.80

Tested by

no test coverage detected