jne@goldhill.COM (08/29/89)
When I map a widget, using XtMapWidget, how can I wait for all the expose
events to be generated. I want to do the following:
void map_and_wait (w)
Widget w ;
{
XtMapWidget(w) ;
ProcessEvents(w) ;
return ;
}
When map_and_wait completes, I do not want (in general), for any more
expose events to come along in the pipeline. It's okay if it
occasionally, but rarely happens -- I'm trying to solve a double
repaint problem. I know I'm having the problem because my program
is poorly structured, i.e., not completely event generated, but there's
not much I can do about that now.
Thanks.
Jeff Eisen
Gold Hill Computers
617-621-3404
jne@goldhill.com