homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: _tkinter.TclError: invalid command name "tixDirSelectBox"
Type: behavior Stage:
Components: Tkinter Versions: Python 3.2
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: Martin.Unzner
Priority: normal Keywords:

Created on 2011年11月26日 08:50 by Martin.Unzner, last changed 2022年04月11日 14:57 by admin. This issue is now closed.

Messages (2)
msg148384 - (view) Author: Martin Unzner (Martin.Unzner) Date: 2011年11月26日 08:50
Hi all,
while executing the following piece of code:
import tkinter
import tkinter.tix
if __name__=='__main__':
 root = tkinter.Tk()
 dirlist = tkinter.tix.DirSelectBox(root)
 dirlist.pack()
 root.mainloop()
the following error occurred:
Traceback (most recent call last):
 File "<...>", line 6, in <module>
 dirlist = tkinter.tix.DirSelectBox(root)
 File "C:\Python32\lib\tkinter\tix.py", line 712, in __init__
 TixWidget.__init__(self, master, 'tixDirSelectBox', ['options'], cnf, kw)
 File "C:\Python32\lib\tkinter\tix.py", line 322, in __init__
 self.tk.call(widgetName, self._w, *extra)
_tkinter.TclError: invalid command name "tixDirSelectBox"
Thanks!
Martin
msg148388 - (view) Author: Martin Unzner (Martin.Unzner) Date: 2011年11月26日 10:37
Sorry, I just found the programming example in the documentary. Works now.
History
Date User Action Args
2022年04月11日 14:57:24adminsetgithub: 57691
2011年11月26日 10:37:20Martin.Unznersetstatus: open -> closed
resolution: not a bug
messages: + msg148388
2011年11月26日 08:50:04Martin.Unznercreate

AltStyle によって変換されたページ (->オリジナル) /