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

Method winfo_rootx

Lib/tkinter/__init__.py:1320–1324  ·  view source on GitHub ↗

Return x coordinate of upper left corner of this widget on the root window.

(self)

Source from the content-addressed store, hash-verified

1318 self.tk.call('winfo', 'rgb', self._w, color))
1319
1320 def winfo_rootx(self):
1321 """Return x coordinate of upper left corner of this widget on the
1322 root window."""
1323 return self.tk.getint(
1324 self.tk.call('winfo', 'rootx', self._w))
1325
1326 def winfo_rooty(self):
1327 """Return y coordinate of upper left corner of this widget on the

Callers 2

whereMethod · 0.80
_place_windowFunction · 0.80

Calls 2

getintMethod · 0.45
callMethod · 0.45

Tested by

no test coverage detected