ich habe hier folgenden Codesnippet
Code: Alles auswählen
import Tix as tx
root = tx.Tk()
frame = tx.Frame(root)
frame.grid()
combo = tx.ComboBox(frame,label="Hallo",editable=True,dropdown=True,
options="listbox.height 6")
combo.grid()
funktioniert das wunderbar.
Mit Python 2.6.2c1 > python-tk 2.6.1-0ubuntu2 > tix 8.4.0-6ubuntu1
bekomme ich folgende Fehlermeldung
Code: Alles auswählen
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.6/lib-tk/Tix.py", line 579, in __init__
cnf, kw)
File "/usr/lib/python2.6/lib-tk/Tix.py", line 307, in __init__
self.tk.call(widgetName, self._w, *extra)
_tkinter.TclError: unknown color name "{#c3c3c3}"
Gruß...busfahrer