[issue13482] _tkinter.TclError: invalid command name "tixDirSelectBox"

2011-11-26 Thread Martin Unzner

New submission from Martin Unzner :

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 
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

--
components: Tkinter
messages: 148384
nosy: Martin.Unzner
priority: normal
severity: normal
status: open
title: _tkinter.TclError: invalid command name "tixDirSelectBox"
type: behavior
versions: Python 3.2

___
Python tracker 
<http://bugs.python.org/issue13482>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue13482] _tkinter.TclError: invalid command name "tixDirSelectBox"

2011-11-26 Thread Martin Unzner

Martin Unzner  added the comment:

Sorry, I just found the programming example in the documentary. Works now.

--
resolution:  -> invalid
status: open -> closed

___
Python tracker 
<http://bugs.python.org/issue13482>
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com