title: Python Tkinter Layout Management with Grids
body: <p>For a few days, I'm trying to set up a simple application with Tkinter and I have some problems to choose between pack, grid for my frames and widgets.</p>
  
  <p>Here is a mockup of my app.
  I decided to delete the two buttons "Générer" so don't pay attention to that.</p>
  
  <p><a href="http://www.gilawhost.com/images/taajvonq.png" rel="nofollow">http://www.gilawhost.com/images/taajvonq.png</a></p>
  
  <p>I have 3 frames :
  frameMatrix (for the checkboxes), frameImage (for the flashcode) and frameLink for the bottom part.</p>
  
  <p>Those frames are implemented with grids. For exemple for the link part (bottom), I have something like this :</p>
  
  <pre><code>labelLink = LabelFrame(frameLink, text='Mini Lien', padx=5, pady=5)
  labelMiniLien = Label(frameLink, text = "http://minilien.fr/").grid(row=0, column=0)
  entryLink = Entry(frameLink, text=self.flashcode.lien).grid(row=0, column=1)
  buttonLink = Button(frameLink, text="Suivre le lien").grid(row=0, column=2)
  </code></pre>
  
  <p>However, I don't know how to put my 3 frames together.
  My main frame is</p>
  
  <pre><code>self.frame=Frame(root)
  </code></pre>
  
  <p>And I tried to set my frames like below</p>
  
  <pre><code>frameMatrix=Frame(self.frame).grid(row=0, column=0)
  frameImage=Frame(self.frame).grid(row=0, column=1)
  frameLink=Frame(self.frame).grid(row=1, column=0, columnspan=2)
  </code></pre>
  
  <p>If you can help me, I tried several others things but nothing is correct
  With the code above, the frames overlap like if the grid of each frame was the same.</p>
  
  <p>Thanks</p>