Dude,
Tell us what you are seeing.
Tell us what you are expecting.
And tell us why in the world you have a "while true" -- that should be
done in your C code.
Suggestion: you may want to invert your process and make your C an
extension that a Tcl script calls instead of the C "driving" the Tcl/Tk.
--
+----------------------------------------------------------------------+
| Gerald W. Lester, President, KNG Consulting LLC |
| Email:
Gerald...@kng-consulting.net |
+----------------------------------------------------------------------+