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

Method winfo_vrootwidth

Lib/tkinter/__init__.py:1447–1452  ·  view source on GitHub ↗

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

(self)

Source from the content-addressed store, hash-verified

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
1449 widget in pixel. If there is no virtual root window return the
1450 width of the screen."""
1451 return self.tk.getint(
1452 self.tk.call('winfo', 'vrootwidth', self._w))
1453
1454 def winfo_vrootx(self):
1455 """Return the x offset of the virtual root relative to the root

Callers 1

_place_windowFunction · 0.80

Calls 2

getintMethod · 0.45
callMethod · 0.45

Tested by

no test coverage detected