Hello, I was testing a class in a GUI, and that error message showed up. Please help.
Code:
from Tkinter import *
class Application(Frame):
def __init__(self, master):
super(Application, self).__init__(master)
self.grid
self.create_widgets()
def create_widgest(self):
self.bttn1 = Button(self, text = "I do nothing!")
self.bttn1.grid()
self.bttn2 = Button(self, text = "Me too.")
self.bttn2.grid()
self.bttn3 = Button(self, text = "Same here..")
self.bttn3.grid()
root = Tk()
root.title("Lazy buttons")
root.geometry("200x100")
app = Application(root)
root.mainloop