MCPcopy Index your code
hub / github.com/RustPython/RustPython / winfo_vrootwidth

Method winfo_vrootwidth

Lib/tkinter/__init__.py:1429–1434  ·  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

1427 self.tk.call('winfo', 'vrootheight', self._w))
1428
1429 def winfo_vrootwidth(self):
1430 """Return the width of the virtual root window associated with this
1431 widget in pixel. If there is no virtual root window return the
1432 width of the screen."""
1433 return self.tk.getint(
1434 self.tk.call('winfo', 'vrootwidth', self._w))
1435
1436 def winfo_vrootx(self):
1437 """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