title: Gtk Drawing graphic items
body: <p>I want to create a gtk (with pygobject) application for drawing graphic items as rectangles, circles, lines, and also more complex ones as UML components.</p>
  <p>Each graphic item should be able to be moved around, resized, etc...</p>
  <p>I see two possible approaches:</p>
  <ol>
  <li><p>Define simple class with a <code>draw</code> method and appropiate attribues for each item type.
  Then draw the shapes in a <code>Gtk.DrawingArea</code> .</p>
  </li>
  <li><p>Make all the items Gtk widgets. And put the widgets in a <code>Gtk.Layout</code> or <code>Gtk.Fixed</code>
  For this approach I don't know which widget should I subclass. Maybe <code>DrawingArea</code> ?</p>
  </li>
  </ol>
  <p>Which of the two approaches is best?</p>