I have a big TreeStore that takes a long time to load. My proposed solution is to have a compile-time step of pickling the store to a file, and then at run-time, loading the pickled store into a TreeView.
Unfortunately, when I try to pickle a TreeStore, I get :
"TypeError: can't pickle TreeStore objects"
According to the pickle documentation ( http://python.org/doc/2.3.1/lib/node64.html ), objects can be pickled if they are at the top level of a module. Would it be possible for me to hack the pygtk sources to put TreeStore at the top level of a module? If so, which file in the source distribution should I look at?
Thanks for any ideas,
Eugene
_______________________________________________ pygtk mailing list [EMAIL PROTECTED] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
