Tkinter.Tk.winfo_cells

Tk.winfo_cells()

Return number of cells in the colormap for this widget.