I really need some ... i'm going to be mad ... I've switched from wx to gtk, and try to make a "self-made listview of pictures". To build the pixbuf of an "item which is displayed in my listview" : I start a thread to load the jpeg in the background ... when the thread has done its job, it tell the listview that it can reload the pixbuf (which was cached)... a "gtk userevent" is sended from the thread to my listview
threads_init() is called before the main.loop(), and the thread is delimited by threads_enter() and threads_leave() ... and gtk/pygtk are the latest version on win32/linux It works very well, and very very very fast, on gnu/linux (ubuntu hoary) ! on win32 : the main window freeze at the beginning ... after deleted the line "threads_init()" before the main.loop : it works better ... (i can run my app) but it's very long to display items ! (1000 to 10000 times longer) I've tried the "sleep tricks" of the "pygtk faq" : but it doesn't seems to work better ... (i have changed some values, but doesn't seems to do something) Every where, i read that a good idea is to change the design ... but i my case : i don't see how i can do that ?! (i anybody can tell me a better idea ?! how can i do it more simple ?!) I don't know what to do ... is it possible to achieve my goal on win32 ? what tricks could i try in my cases ? should i wait a new version of gtk/pygtk to release a win32 version ? should i back to wx, or maintain 2 versions : a gtk for linux and a wx for windows, or give up gtk/wx to go in qt !? i really need help on this problem _______________________________________________ pygtk mailing list [email protected] http://www.daa.com.au/mailman/listinfo/pygtk Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/
