__dict__ for instances?

Bruno Desthuilliers bdesth.quelquechose at free.quelquepart.fr
Sun May 13 17:44:35 EDT 2007


Ivan Voras a écrit :
> Marc Christiansen wrote:
> 
> 
>>Nope, at least for PyGTK 2 :) See below.
> 
> 
> Aaah, but....!
> 
> 
>>[...]
>>
>>>This looks like it should be easy, but I can't find the solution :(
>>
>>Use the doc, Luke, oops, Ivan :)
>>Citing the gtk.glade.XML.signal_autoconnect documentation: 
>>  def signal_autoconnect(dict)
>>  dict: a mapping or an instance
>>                        ^^^^^^^^
> 
> 
> I should have mentioned - I tried it already and it didn't work. The
> specific error I get is:
> 
> "WARNING: "on_button_clicked" not callable or a tuple"

Please post the relevant code and the full traceback.



More information about the Python-list mailing list