title: Menu, Button, etc. Bars in Tkinter GUI
body: <p>I'm trying to start a Tkinter application that follows <a href="https://stackoverflow.com/questions/3520494/class-menu-in-tkinter-gui">Class menu in Tkinter Gui</a> for neatness but also add this functionality for e.g. Button bars, RadioButton bars, etc. Something like:</p>
  
  <pre><code>from Tkinter import *
  
  def clickTest():
      print "Click!"
  
  class App(Tk):
      def __init__(self):
          Tk.__init__(self)
          menuBar = MenuBar(self)
          buttonBar = ButtonBar(self)
  
          self.config(menu=menuBar)
          buttonBar.grid(row=0, column=0) ???
  
  class MenuBar(Menu):
      def __init__(self, parent):
          Menu.__init__(self, parent)
  
          fileMenu = Menu(self, tearoff=False)
          self.add_cascade(label="File", menu=fileMenu)
          fileMenu.add_command(label="Exit", command=clickTest)
  
  class ButtonBar(Frame):
      def __init__(self, parent):
          Frame.__init__(self, parent)
  
          firstButton = Button(parent, text="1st Button", command=clickTest)
          secondButton = Button(parent, text="2nd Button", command=clickTest)
  
  if __name__ == "__main__":
  
      app = App()
      app.mainloop()
  </code></pre>
  
  <p>But I'm not sure how to get all of this to show up in the same window. Of course, the code as-is doesn't work. Any suggestions are appreciated. Thanks!</p>