Helmut Jarausch wrote: > Hi, > > AFAIK, this should work: > > import tkinter as Tk > root= Tk.Tk() > root.tk_setPalette(background = 'AntiqueWhite1', foreground = 'blue') > > but python-3.3:0e4574595674+ gives > > Traceback (most recent call last): > File "Matr_Select.py", line 174, in <module> > root.tk_setPalette(background = 'AntiqueWhite1', foreground = 'blue') > File "/usr/lib64/python3.3/tkinter/__init__.py", line 390, in > tk_setPalette > + _flatten(args) + _flatten(kw.items())) > TypeError: argument must be sequence > > > What am I missing?
Nothing, as far as I can tell. Please file a bug report on <http://bugs.python.org>. For now you can work around the bug with root.tk_setPalette("background", 'AntiqueWhite1', "foreground", 'blue') -- http://mail.python.org/mailman/listinfo/python-list