title: PyGTK connect_signals
body: <p>Ok so I have a little test program here:</p>
  
  <p>This is in my file that I load through gtk.Builder</p>
  
  <pre><code>&lt;object class="GtkWindow" id="mainWindow"&gt;
      &lt;property name="default_width"&gt;500&lt;/property&gt;
      &lt;property name="default_height"&gt;250&lt;/property&gt;
      &lt;signal name="delete_event" handler="endProgram" /&gt;
  &lt;/object&gt;
  </code></pre>
  
  <p>I then use this:</p>
  
  <pre><code>def endProgram ():
      print "end";
  
  rofl = gtk.Builder();
  
  rofl.add_from_file("mainwindow.ui");
  win = rofl.get_object("mainWindow");
  rofl.connect_signals("mainWindow");
  win.show_all();
  gtk.main();
  </code></pre>
  
  <p>Yet when I go to run that it complains that I am missing a handler for the mainWindow object.
  I have tried doing     rofl.connect_signals(win); as well</p>