Tk not displaying due to tight loop during data access
From: Rob Strover (dislexic_wobmat_at_NOSPAMyahoo.com.invalid)
Date: 05/30/04
- Next message: Rob Strover: "Re: Tk not displaying due to tight loop during data access"
- Previous message: Donald Arseneau: "Re: Regexp, ***= and subexpressions"
- Next in thread: Rob Strover: "Re: Tk not displaying due to tight loop during data access"
- Reply: Rob Strover: "Re: Tk not displaying due to tight loop during data access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 May 2004 06:38:23 GMT
What I'm trying to do is display some info on a tk listbox widget as the
result of various data accesses to existing files. Currently I'm working on
a Windows XP system.
If I have message boxes displayed for tracing purposes during this
processing then the data is displayed as required. Similarly, running my app
from within my debugger (RamDebugger) all goes well.
Given the fact that things go well when message boxes are displayed for
tracing purposes, I'm guessing that there is insufficient time for screen
display to occur given the data access activity in the background. Under
Visual Basic, in similar circumstances, one would use the 'DoEvents'
command, which yields time to the operating system (Windows), thereby
allowing screen updating to occur.
Is there a similar technique or command within the tcl/tk environment to
permit this yielding behaviour?
BTW, when I run my data access part without the tk display routines and
running under tkcon, all works well and the correct data is retrieved within
a reasonable time, as expected [displaying info to console via 'puts'
commands].
TIA,
Rob.
- Next message: Rob Strover: "Re: Tk not displaying due to tight loop during data access"
- Previous message: Donald Arseneau: "Re: Regexp, ***= and subexpressions"
- Next in thread: Rob Strover: "Re: Tk not displaying due to tight loop during data access"
- Reply: Rob Strover: "Re: Tk not displaying due to tight loop during data access"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|