Using Tix and Tkinter
From: Harlin Seritt (harlinseritt_at_yahoo.com)
Date: 12/31/04
- Next message: Terry Reedy: "Re: More baby squeaking - iterators in a class"
- Previous message: JanC: "Re: what would you like to see in a 2nd edition Nutshell?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 31 Dec 2004 10:50:49 -0500
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
- Next message: Terry Reedy: "Re: More baby squeaking - iterators in a class"
- Previous message: JanC: "Re: what would you like to see in a 2nd edition Nutshell?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|