tkinter buttons not displaying
I added the suggestions in the comments to your code and removed some unrelated lines (to the problem). Now the buttons show:
Remove the
events
argument from the Buttons method.Add
self.Buttons()
toself.__init__
Minimal working (solved) example.
from tkinter import *class App(Frame): def __init__(self, master): Frame.__init__(self, master) self.columnconfigure(0, weight=1) self.rowconfigure(0, weight=1) self.pack(fill='both', expand=True) self.bind("<Configure>", self.resize) self.Buttons() # <--------------------- IMPORTANT! def resize(self, event): size = (event.width, event.height) def Buttons(self): # <--------------------- Remove the event argument self.Button1 = Button(master=self, text="OLD VINS") self.Button1.grid(row=1, column=1) self.Button2 = Button(master=self, text="QBAY") self.Button2.grid(row=2, column=1) self.Button3 = Button(master=self, text="HELP") self.Button3.grid(row=3, column=1)root = Tk()app = App(root)app.mainloop()