title: Frame.quit usage in Python
body: <p>I'm currently using Python 3 and am writing my first GUI program. I don't want to import tkinter as: <code>from tkinter import *</code> but rather, I want to import it as <code>import Tkinter</code> because of my understanding of the way modules work.</p>
  
  <p>In the following code my quit button doesn't work. Why not?</p>
  
  <pre><code>import tkinter
  
  
  class Main_Frame:
  
      def __init__(self, welk_window):
          top_Frame = tkinter.Frame(welk_window, width = "1", height = "1") 
          top_Frame.pack()
  
          self.Button_start = tkinter.Button(top_Frame, text = "Start", fg ="green", command=self.startMessage)
          self.Button_start.pack(side=tkinter.LEFT)
  
          self.Button_quit = tkinter.Button(top_Frame, text = "Quit", fg ="red", command=Frame.quit)
          self.Button_quit.pack(side=tkinter.LEFT)
  
      def startMessage(self):
          print("Start")
  
  
  root = tkinter.Tk()     
  master_window = Main_Frame(root) 
  root.mainloop()
  </code></pre>
  
  <p>What am I doing wrong? I know it has something to do with calling the attribute Frame.quit. I tried using <code>Tkinter.Frame.quit</code>, however that didn't work either. Thanks in advance!</p>