'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=1 is given also the X identifier.'

def winfo_visualsavailable(self, includeids=0):

    data = self.tk.split(self.tk.call('winfo', 'visualsavailable', self._w, ((includeids and 'includeids') or None)))
    if (type(data) is StringType):
        data = [self.tk.split(data)]
    return map(self.__winfo_parseitem, data)
