Felix Rabe (public) wrote:
Hi Adolfo,
You might not need to use recursive code, and generators aren't too
bad. Have you looked at os.walk() already?
Uno más: func_id = gobject.idle_add(func) // gobject.source_remove(func_id) (to
interrupt)
Junto con:
def func([self]):
...
return True (called again) or False (last call)
I hope that gives you the connection points to use os.walk with PyGTK and the
progress bar. (At least that is how I would approach it.)
Best wishes,
Felix
_______________________________________________
pygtk mailing list pygtk@daa.com.au
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/