python, tkinter: Using grid layout, my frame refuses to display its contents
Question: Trying to use grid geometry instead of pack(), but using a frame without use
of pack() has me lost. All I Want is a frame around it so that I can have a
border and label around certain sections. I suspect the width and height
parameters are the problem here.

    
    
    from tkinter import *
    
    class App:
    
        def __init__(self,master):
    
            frame = Frame(master,height=20,width=25)
    
            #Multiple buttons, over n rows and columns, these are just here to demonstrate my syntax
            self.action = Button(frame,text="action",command=self.doAction)
            self.action.grid(row=n,column=n)
    
        def doAction(self):
            print('Action')
    
    root = Tk()
    
    app = App(root)
    
    root.mainloop()
    


Answer: The frame you create in the first statement of the constructor is never placed
anywhere in its parent window. Since the other widgets are children of this
widget, they won't be displayed either.

