Return the number of bits per pixel.
(self)
| 1225 | return self._nametowidget(name) |
| 1226 | |
| 1227 | def winfo_depth(self): |
| 1228 | """Return the number of bits per pixel.""" |
| 1229 | return self.tk.getint(self.tk.call('winfo', 'depth', self._w)) |
| 1230 | |
| 1231 | def winfo_exists(self): |
| 1232 | """Return true if this widget exists.""" |