On Thu, Feb 10, 2011 at 07:46:50PM +0100, Alessandro Dentella wrote: > What I'd like is to have a connect that only behaves as a weakref! > > > This should be the key of some memory leaks I have, but I don't know which > should be the best practices to follow when using GObject and signals and I > didnt't find any documentation on this issue.
After sending this mail I found on stackoverflow this thread [1] that addresses the same problem. I'm still interested to know which is the best practice in this list. [1] http://stackoverflow.com/questions/1364923/how-to-connect-to-a-gobject-signal-in-python-without-it-keeping-a-reference-to-t thanks sandro *:-) _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://faq.pygtk.org/
