Running Python 2.4 on Windows 2000. Have tried building own build of
Python 2.4 and Tcl/tk 8.4.7 and Tix 8.1.4, and have also tried simply
installing Python 2.4 on another machine (which includes its own
tcl/tk/tix distribution).
Both give same problem which is that Tix is available as a Python module
but seems to be missing from the tcl/tk layer.
I am by no means a tcl/tk expert so would appreciate some help with what
I suspect is a relatively simple problem.
Test output is:

C:\temp> python
Python 2.4 (#60, Nov 30 2004, 11:49:19) [MSC v.1310 32 bit (Intel)] on
win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter
>>> import Tix
>>> root = Tkinter.Tk()
>>> feb = Tix.FileSelectBox(root)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
  File "C:\Python24\Lib\lib-tk\Tix.py", line 791, in __init__
    TixWidget.__init__(self, master, 'tixFileSelectBox', ['options'],
cnf, kw)
  File "C:\Python24\Lib\lib-tk\Tix.py", line 307, in __init__
    self.tk.call(widgetName, self._w, *extra)
_tkinter.TclError: invalid command name "tixFileSelectBox"

I've tried copying the Tix.py which ships with Tix over the one which
ships with Python but although the invocations are slightly different,
still leads to exactly the same problem.
Has anyone managed to get Tix working with Python 2.4 ? Has anyone else
had (and more importantly solved) this problem ?

Thanks for any help.


-----------------------------------------------------------------------
The information contained in this e-mail is confidential and solely 
for the intended addressee(s). Unauthorised reproduction, disclosure, 
modification, and/or distribution of this email may be unlawful. If you 
have received this email in error, please notify the sender immediately 
and delete it from your system. The views expressed in this message 
do not necessarily reflect those of LIFFE Holdings Plc or any of its subsidiary 
companies.
-----------------------------------------------------------------------

_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to