title: Tkinter custom frame not working
body: <p>I'm trying to create a custom frame in tkinter, Python v2.7. I have done this just fine once (a frame with a scrollbar), but my second attempt isn't working. I compare it to the Frame that does work, and I can't understand what I have done differently.</p>
  
  <p>What I want is a frame that has a little separator line underneath it, so I'm creating a "normal" frame, a thin frame to use as a separator under it, and a bigFrame to hold it.</p>
  
  <p>Everything I create in the class works, except the frame itself. Hopefully my comments explain what is and isn't showing.</p>
  
  <pre><code>from Tkinter import *
  
  class FunFrame(Frame):
      def __init__(self, master, lbl,  **kwargs):
          self.bigFrame = Frame(master) 
          Frame.__init__(self, self.bigFrame, width=280, height=200, bg="red", **kwargs)
          self.grid(row=0, column=0, pady=3) #this is in bigFrame, and doesn't display
                                      #however the padding is still respected
          self.separator = Frame(self.bigFrame, height=2, bd=1, width=280, relief = SUNKEN)
          self.separator.grid(row=1, column=0) #this is in bigFrame, and displays
  
          self.l = Label(self, text=lbl) #this is in self and doesn't display
          self.l.grid(row=0, column=0)
  
  
      def grid(self, **kwargs):
          self.bigFrame.grid(**kwargs)
  
  if __name__ == "__main__":
      root=Tk()
      Frame1=FunFrame(root, "hello")
      Frame2=FunFrame(root, "world")
      Frame1.grid(row=0, column=0)
      Frame2.grid(row=1, column=0)
      root.mainloop()
  </code></pre>