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

Method winfo_fpixels

Lib/tkinter/__init__.py:1254–1258  ·  view source on GitHub ↗

Return the number of pixels for the given distance NUMBER (e.g. "3c") as float.

(self, number)

Source from the content-addressed store, hash-verified

1252 self.tk.call('winfo', 'exists', self._w))
1253
1254 def winfo_fpixels(self, number):
1255 """Return the number of pixels for the given distance NUMBER
1256 (e.g. "3c") as float."""
1257 return self.tk.getdouble(self.tk.call(
1258 'winfo', 'fpixels', self._w, number))
1259
1260 def winfo_geometry(self):
1261 """Return geometry string for this widget in the form "widthxheight+X+Y"."""

Callers

nothing calls this directly

Calls 2

getdoubleMethod · 0.80
callMethod · 0.45

Tested by

no test coverage detected