chapman@lll-lcc.UUCP (Carol Chapman) (06/06/89)
I am trying to display 3 images at a time with a label preceeding each image. To do this I am using a viewport widget with a form widget within it. The images are stored in core widgets and the labels are label widgets. All works well, except that the labels each appear as empty windows until the routine ends and control returns to XtMainLoop. At that time the text for each label finally appears. Well, better late than never, but I really want it to appear at the same time that the label window appears. I've tried calling XFlush, XSync and XtFormDoLayout, but none of these helped. What am I doing wrong? Thanks, carol chapman -- ------------------------------------------------------------------------------- Livermore Lab (chapman@lll-crg.llnl.gov or chapman@lll-lcc.llnl.gov) P.O. Box 808, L-153 Tel. (415) 423-7876 Livermore, CA 94550 "Never own anything that you have to FEED or PAINT."
swick@ATHENA.MIT.EDU (Ralph R. Swick) (06/12/89)
> All works well, except that the labels each appear as > empty windows until the routine ends and control returns to > XtMainLoop. Xaw/Label will not paint anything until it receives an Expose event. You could cons one yourself and dispatch it to the widget if you really want to block event processing for a while.