Using Tix and Tkinter
Harlin Seritt
harlinseritt at yahoo.com
Fri Dec 31 10:50:49 EST 2004
I am trying to create a simple window using the following code:
--code---
import Tix
from Tkconstants import *
from Tkinter import *
root = Tix.Tk()
Label(root, text="Hello!").pack()
Tix.tixControl().pack()
root.mainloop()
---code---
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'
Any reason why I am not able to pull up this widget to work with it?
Thanks,
Harlin Seritt
More information about the Python-list
mailing list