__dict__ for instances?
Ivan Voras
ivoras at __fer.hr__
Sun May 13 13:20:08 EDT 2007
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"
once for each handler when I call autoconnect. And I've got a recent
version of pyGTK (2.10.4) so it should.
--
(\__/)
(O.o)
(> < )
This is Bunny.
Copy Bunny into your signature to help him on his way to world domination!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 258 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/python-list/attachments/20070513/71300f0f/attachment.sig>
More information about the Python-list
mailing list