Return a list of all visuals available for the screen of this widget. Each item in the list consists of a visual name (see winfo_visual), a depth and if includeids is true is given also the X identifier.
(self, includeids=False)
| 1419 | return self.tk.call('winfo', 'visualid', self._w) |
| 1420 | |
| 1421 | def winfo_visualsavailable(self, includeids=False): |
| 1422 | """Return a list of all visuals available for the screen |
| 1423 | of this widget. |
| 1424 | |
| 1425 | Each item in the list consists of a visual name (see winfo_visual), a |
| 1426 | depth and if includeids is true is given also the X identifier.""" |
| 1427 | data = self.tk.call('winfo', 'visualsavailable', self._w, |
| 1428 | 'includeids' if includeids else None) |
| 1429 | data = [self.tk.splitlist(x) for x in self.tk.splitlist(data)] |
| 1430 | return [self.__winfo_parseitem(x) for x in data] |
| 1431 | |
| 1432 | def __winfo_parseitem(self, t): |
| 1433 | """Internal function.""" |
nothing calls this directly
no test coverage detected