title: Adding a scrollbar to a group of widgets in Tkinter
body: <p>I am using Python to parse entries from a log file, and display the entry contents using Tkinter and so far it's been excellent. The output is a grid of label widgets, but sometimes there are more rows than can be displayed on the screen. I'd like to add a scrollbar, which looks like it should be very easy, but I can't figure it out.</p>
  
  <p>The documentation implies that only the List, Textbox, Canvas and Entry widgets support the scrollbar interface. None of these appear to be suitable for displaying a grid of widgets. It's possible to put arbitrary widgets in a Canvas widget, but you appear to have to use absolute co-ordinates, so I wouldn't be able to use the grid layout manager?</p>
  
  <p>I've tried putting the widget grid into a Frame, but that doesn't seem to support the scrollbar interface, so this doesn't work:</p>
  
  <pre><code>mainframe = Frame(root, yscrollcommand=scrollbar.set)
  </code></pre>
  
  <p>Can anyone suggest a way round this limitation? I'd hate to have to rewrite in PyQt and increase my executable image size by so much, just to add a scrollbar!</p>