small tkinter problem
Raimo Tuisku
raimo-news at mail.com
Wed Jul 31 08:47:13 EDT 2002
On Wed, 31 Jul 2002 15:51:26 +0300, oberon wrote:
> File "D:\projects\oberon\mdbapp.py", line 21, in __init__
> self.results = Listbox(frame,
> yscrollcommand=self.rescroll.set).grid(row=4,column=0,sticky=W+E,columnspan=2)
> AttributeError: 'NoneType' object has no attribute 'set'
The error message says it all:
> self.rescroll = Scrollbar(frame).grid(row=4,column=2)
You set the return value of grid to self.rescroll which is none.
--
Raimo Tuisku
More information about the Python-list
mailing list