(self, color)
return ok
Check if the string color is a legal Tkinter color string.
Check if the string color is a legal Tkinter color string.
Check if the string color is a legal Tkinter color string .
def _iscolorstring(self, color):
        """Check if the string color is a legal Tkinter color string.
        """
        try:
            rgb = self.cv.winfo_rgb(color)
            ok = True
        except TK.TclError:
            ok = False
        return ok
def _iscolorstring ( self , color ) : try : rgb = self . cv . winfo_rgb ( color ) ok = True except TK . TclError : ok = False return ok