On 31.12.2004, at 16:50, Harlin Seritt wrote:
import Tix
from Tkconstants import *
from Tkinter import *

root = Tix.Tk()

Label(root, text="Hello!").pack()
Tix.tixControl().pack()

root.mainloop()

When I run this, I get the following error:

Traceback (most recent call last):
  File "TixTest.py", line 8, in ?
    Tix.tixControl().pack()
AttributeError: 'module' object has no attribute 'tixControl'

in the Tix module this widget is called Control. writing Tix.Control().pack() should work.

- harold -

--
Man will occasionally stumble over the truth,
but most of the time he will pick himself up and continue on.
-- Winston Churchill

--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to