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

Method winfo_y

Lib/tkinter/__init__.py:1477–1481  ·  view source on GitHub ↗

Return the y coordinate of the upper left corner of this widget in the parent.

(self)

Source from the content-addressed store, hash-verified

1475 self.tk.call('winfo', 'x', self._w))
1476
1477 def winfo_y(self):
1478 """Return the y coordinate of the upper left corner of this widget
1479 in the parent."""
1480 return self.tk.getint(
1481 self.tk.call('winfo', 'y', self._w))
1482
1483 def update(self):
1484 """Enter event loop until all pending events have been processed by Tcl."""

Callers 3

adjust_labelMethod · 0.80

Calls 2

getintMethod · 0.45
callMethod · 0.45

Tested by 2