Return the number of bits per pixel.
(self)
| 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.""" |