I am under windows xp sp3 platform. 2013-08-19
zaazbb 发件人:Michael Lange <klappn...@web.de> 发送时间:2013-08-19 17:24 主题:Re: [Tkinter-discuss] python33 self tix do not support all the tix widgets? 收件人:"tkinter-discuss"<tkinter-discuss@python.org> 抄送: Hi, On Mon, 19 Aug 2013 13:54:53 +0800 "zaazbb"<zaa...@163.com> wrote: > when i run my test coe as below, i meet a error "_tkinter.TclError: > invalid command name "tixControl". who can tell me, which tix widgets > could used in python33? and which are not suppported by python33?? > > thanks. > > > from tkinter import * > from tkinter.tix import * > > root = Tk() > > c = Control(root, label = 'Number:') > c.pack() > > root.mainloop() This looks like it does not have anything particular to do with Python, but results from a missing tix binary. I don't know which platform you use, on windows systems the tix binary should be included in the Python installer, so I guess it is some kind of unix system? If it's linux, probably the tix package has not been installed yet, about OSX I am not sure if it comes with tix by default or if it must be installed by hand. Regards Michael .-.. .. ...- . .-.. --- -. --. .- -. -.. .--. .-. --- ... .--. . .-. There are certain things men must do to remain men. -- Kirk, "The Ultimate Computer", stardate 4929.4 _______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss
_______________________________________________ Tkinter-discuss mailing list Tkinter-discuss@python.org http://mail.python.org/mailman/listinfo/tkinter-discuss