Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!wuarchive!decwrl!ucbvax!bloom-beacon!SUPER.ORG!dsseewe From: dsseewe@SUPER.ORG (Daniel Seewer) Newsgroups: comp.windows.x Subject: Widget Refreshing Values ! Message-ID: <9007271833.AA26394@metropolis.super.org> Date: 27 Jul 90 18:33:22 GMT Sender: daemon@athena.mit.edu (Mr Background) Organization: The Internet Lines: 17 I have noticed a problem updating the values of several widgets (mostly labels) during one of my callback routines. The callback routine is a computationally intensive routine, where through the first iteration of the loop it calls XtSetValue() on various widgets to update their values. I am noticing that these labels go blank and are not updated until the "Big loop" is finished. I understand why this is happening (I think) but I thought if I put XFlush(XtDisplay(toplevel)) after the widget values are changed the events would be handled. But this is not the case. Must I dispatch events during this "Big loop" to guarantee updates? Any input that sheds light on this subject would be appreciated!! Thanks. Dan Seewer (dsseewe@super.org)