[pygtk] sharing data between windows
René 'Necoro' Neumann
lists at necoro.eu
Tue Sep 15 23:39:37 WST 2009
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Doug Brewer schrieb:
> Hmm. So if I kept everything in one big messy class, I wouldn't need to
> worry about how windows communicate with each other, because they'd all have
> access to the same methods. But if I want it to be neat and separate, I need
> to use signals to communicate between windows? That added layer of
> complexity might drive me back to messiness for now.
>
> But thanks for this input, and I assume this is the path I'd take to
> implement it?
>
> http://faq.pygtk.org/index.py?req=show&file=faq03.009.htp
Conforming to [1], there is a __gsignals__ dictionary which you can put
into your class. Unfortunatly, there is no real documentation on it
anywhere. I asked for this on this mailinglist some time ago, but got no
answer.
- - René
[1] http://live.gnome.org/PyGTK/WhatsNew28
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkqvtTgACgkQ4UOg/zhYFuDv0QCZAZlDFVNKMxF+XOAYQwrGqG6G
5PsAn0Ua0iBeD82Ut1a1VAF/4t+NZg0Q
=YPGM
-----END PGP SIGNATURE-----
More information about the pygtk
mailing list