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

Method winfo_depth

Lib/tkinter/__init__.py:1245–1247  ·  view source on GitHub ↗

Return the number of bits per pixel.

(self)

Source from the content-addressed store, hash-verified

1243 return self._nametowidget(name)
1244
1245 def winfo_depth(self):
1246 """Return the number of bits per pixel."""
1247 return self.tk.getint(self.tk.call('winfo', 'depth', self._w))
1248
1249 def winfo_exists(self):
1250 """Return true if this widget exists."""

Callers

nothing calls this directly

Calls 2

getintMethod · 0.45
callMethod · 0.45

Tested by

no test coverage detected