Simon Percivall wrote:
> You're calling the grid() method on the Entry object you're
> instanciating. Are you sure that the grid() method returns the Entry
> object so that you're actually binding it to self.myAddress?
The widget maker should do it in two steps instead of one.
So instead of:
self.myAddress=Entry(self.root,relief=SUNKEN).grid(row=1,column=1,sticky=W)
Make it thus:
self.myAddress = Entry(self.root,relief=SUNKEN) # make it and
keep it here
self.address.grid(row=1,column=1,sticky=W) # grid it here
in the create_widgets method.
--
http://mail.python.org/mailman/listinfo/python-list