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

Method winfo_pixels

Lib/tkinter/__init__.py:1303–1306  ·  view source on GitHub ↗

Rounded integer value of winfo_fpixels.

(self, number)

Source from the content-addressed store, hash-verified

1301 return self.tk.call(args)
1302
1303 def winfo_pixels(self, number):
1304 """Rounded integer value of winfo_fpixels."""
1305 return self.tk.getint(
1306 self.tk.call('winfo', 'pixels', self._w, number))
1307
1308 def winfo_pointerx(self):
1309 """Return the x coordinate of the pointer on the root window."""

Calls 2

getintMethod · 0.45
callMethod · 0.45