"doyin adegoke" <doyenneho...@yahoo.com> wrote

I made the changes and the error was still there

"print self.favorite.get()" prints the name of the selected database on the console

The problem is that you are still calling grid when you create the widget.
grid() returns None so all your self.xxx attributes are set to None.

You must call grid after you create the widget.


--
Alan Gauld
Author of the Learn to Program web site
http://www.alan-g.me.uk/

_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to