Hi,

DeprecationWarning: use GtkProgressBar

Any idea why I'm getting this warning, i assume that I shall use
gtk.ProgressBar? I'm receiving this earing on the following lines in my
code:

self.progress.set_format_string("%v %%")
self.progress.set_show_text(1)

self.progress.set_percentage((size/totsize))


In addition to that the set_percentage method is crashing with a lot of
debug msg + a x async message. The set_percentage is called within a
thread. And yes, I'm using gtk.threads_enter, gtk,threads_leave around
it. I've also initialized gtk threads. The same applies for the
progress.update and progress.set_fraction.

I appreciate very much any ideas regarding this matter.

Best regards
Řistein Aanensen






_______________________________________________
pygtk mailing list   [EMAIL PROTECTED]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/

Reply via email to