title: Connecting signal with lambda does not work in some cases?
body: <p>i'm experimenting pygtk programms development, with python 2.7, and i have a little problem when connecting signals using a lambda function :</p>
  
  <ul>
  <li>let us say that the class which wants to connect a signal is <strong>the class A_Class</strong>, and <strong>the signal</strong> is the string <strong>"A_Signal"</strong></li>
  <li>we also dispose of a second <strong>class B_class defining public function manage_signal</strong></li>
  <li>A_Class dispose of an instance <strong>instance_b of B_class</strong></li>
  </ul>
  
  <p>So, here my problem:
  I don't understand why :</p>
  
  <ul>
  <li>if i call <code>connect("A_Signal", lambda &lt;signal_parameters&gt; : instance_b.manage_signal)</code> from a method of A_Class instance => we can't even enter in function manage_signal of instance_b (for example : <code>connect("activate", lambda menu_item :  instance_b.manage_signal)</code></li>
  <li>if i define in A_Class a method manage_signal, which in turn call instance_b.manage_signal and call <code>connect("A_Signal", lambda &lt;signal_parameters&gt; : self.manage_signal)</code> => this time it works ?</li>
  </ul>
  
  <p>Here some code to be more explicit</p>
  
  <pre><code>   class A_Class(gtk.Window):
  
         def __init__(self):
             super(gtk.Window, self).__init__()
             self.__instance_b = B_Class()
             # this does not work and i don't understand why
             self.connect("delete-event", lambda the_widget,the_event: self.__instance_b.manage_event)
             # this works
             self.connect("delete-event", self.__manage_event)
  
         def __manage_event(self):
             self.__instance_b.manage_event
  
     class B_Class(object):
  
          def manage_event(self):
              # do some stuffs ...
  </code></pre>
  
  <p>Regards</p>