title: Python: removing a TKinter frame
body: <p>I want to remove a frame from my interface when a specific button is clicked.</p>
  
  <p>This is the invoked callback function</p>
  
  <pre><code>def removeMyself(self):
      del self
  </code></pre>
  
  <p>However, it doesn't remove itself. I'm probably just deleting the object in python without updating the interface ?</p>
  
  <p>thanks</p>
  
  <p>Update</p>
  
  <pre><code>self.itemFrame = tk.Frame(parent)
  self.itemFrame.pack(expand=False, side=tk.TOP)
  
  removeB = tk.Button(self.itemFrame, text="Remove", width=10, command=self.removeIsosurface)
  
  def removeIsosurface(self):
      self.itemFrame.Destroy()
  </code></pre>
  
  <p>Error message:</p>
  
  <pre><code>AttributeError: Frame instance has no attribute 'Destroy'
  </code></pre>