I am a newbie programmer and have a question. I create a gui program but
i run a function with a loop the gui doesn't refresh. What is the
easiest way to refresh the whole gui and can i see some example code
please. Thanks.
You can't use a function with a loop. If you absolutely have to, you should
put it into a thread. Normally you don't need loops. Make it state - based so
that the mainloop can do it's job.
check out
http://wiki.wxpython.org/index.cgi/LongRunningTasks?action=highlight&value=running
UC
ยทยทยท
On Sunday 08 June 2003 02:34 pm, antone wrote:
I am a newbie programmer and have a question. I create a gui program but
i run a function with a loop the gui doesn't refresh. What is the
easiest way to refresh the whole gui and can i see some example code
please. Thanks.
--
Open Source Solutions 4U, LLC 2570 Fleetwood Drive
Phone: +1 650 872 2425 San Bruno, CA 94066
Cell: +1 650 302 2405 United States
Fax: +1 650 872 2417