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

Method winfo_vrootheight

Lib/tkinter/__init__.py:1440–1445  ·  view source on GitHub ↗

Return the height of the virtual root window associated with this widget in pixels. If there is no virtual root window return the height of the screen.

(self)

Source from the content-addressed store, hash-verified

1438 return int(x, 0)
1439
1440 def winfo_vrootheight(self):
1441 """Return the height of the virtual root window associated with this
1442 widget in pixels. If there is no virtual root window return the
1443 height of the screen."""
1444 return self.tk.getint(
1445 self.tk.call('winfo', 'vrootheight', self._w))
1446
1447 def winfo_vrootwidth(self):
1448 """Return the width of the virtual root window associated with this

Callers 1

_place_windowFunction · 0.80

Calls 2

getintMethod · 0.45
callMethod · 0.45

Tested by

no test coverage detected