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

Method winfo_screenwidth

Lib/tkinter/__init__.py:1390–1394  ·  view source on GitHub ↗

Return the number of pixels of the width of the screen of this widget in pixel.

(self)

Source from the content-addressed store, hash-verified

1388 return self.tk.call('winfo', 'screenvisual', self._w)
1389
1390 def winfo_screenwidth(self):
1391 """Return the number of pixels of the width of the screen of
1392 this widget in pixel."""
1393 return self.tk.getint(
1394 self.tk.call('winfo', 'screenwidth', self._w))
1395
1396 def winfo_server(self):
1397 """Return information of the X-Server of the screen of this widget in

Callers 3

win_widthMethod · 0.80
_place_windowFunction · 0.80

Calls 2

getintMethod · 0.45
callMethod · 0.45

Tested by

no test coverage detected