| jlinkels 2004-05-30, 1:17 pm |
| Greetings,
I am sure this is a very simple question, and the answer so obvious that no-one ever took the effort to post something about it :)
I want to write a simple user interface in Tk. It should show the status of a remote process. I want to query the remote process periodically (every 100 ms or so ) over a TCP connection. The Tk application should keep responding to events while waiting for the 100 ms to expire, or while waiting for the answer from the remote process.
I have a running application in TCL using TCP communication, no problem here.
I know how to set up a window and some widgets in Tk, no problem here either.
I just want to make my Tk app run a proc every 100 ms or so while the Tk GUI keeps responsive.
Any ideas?
Thanks
jlinkels |