Dear all,

  Just tried the latest release of  Python 3.3.0a3
(v3.3.0a3:0b53b70a40a0, May  1 2012, 11:10:44)
on my MacOSX Lion.

It seems use of  tkinter NoteBook breaks:

from tkinter import *
import tkinter.ttk
root = Tk()
nb=tkinter.ttk.Notebook(root)
nb.pack(expand=True, fill=BOTH)
nb.add(Canvas(nb, bg="red"), text="Pane 1")
nb.add(Canvas(nb, bg="blue"), text="Pane 2")
root.mainloop()

Traceback (most recent call last):
  File "/Users/micko/Google Drive/ALL_FILES/TO
DO/CorpusTool30b1/NotebookTest.py", line 5, in <module>
    nb=tkinter.ttk.Notebook(root)
  File 
"/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/tkinter/ttk.py",
line 857, in __init__
    Widget.__init__(self, master, "ttk::notebook", kw)
  File 
"/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/tkinter/ttk.py",
line 559, in __init__
    _load_tile(master)
  File 
"/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/tkinter/ttk.py",
line 47, in _load_tile
    master.tk.eval('package require tile') # TclError may be raised here
_tkinter.TclError: can't find package tile

Now, I though Tile had been folded into Tkinter. Or do I need to
download and install it separately still?

(I thought it would be nice if all core Tkinter widgets worked 'out of the box',
so i suspect this is a bug)

Mick



-- 

Not sent from my iPhone
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to