[wxPython-users] listbox append in for loop

Robin Dunn robin at alldunn.com
Wed Jul 4 11:11:06 PDT 2007


Thomas Thomas wrote:
> Hi All,
>  
> I am writing a small application that migrates data. I am appending the 
> process log on to a listbox. But only after the loops finishes the user 
> can actually see the elements in the listbox.. I tried using 
> listbox.Refresh(). the process and logging are done on the main thread.
> Do i have to do the process in a seperate thread to achieve this or is 
> there some other way I can do this

http://wiki.wxpython.org/LongRunningTasks

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wxpython-users mailing list