On Fri, Apr 2, 2010 at 2:25 AM, adedoyin adegoke wrote:
> from Tkinter import *
> import MySQLdb
>
> class Snoop(Frame):
> def __init__(self, master):
> Frame.__init__(self, master)
> self.grid()
> self.create_widgets()
>
> def create_widgets(self):
> Label(
"adedoyin adegoke" wrote >def
create_widgets(self):
Label(self, text = "Database Name:").grid(...
self.txt_box = Entry(self, text = "hool").grid(...
The grid(and pack etc) method returns None.
You have to create the widgets then apply the layout manager on a separate
line