Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!agate!color.ced.berkeley.edu!spanki From: spanki@color.ced.berkeley.edu (Frank Goodman) Newsgroups: comp.windows.x Subject: Synchronous vs Asynchrounous Message-ID: <1990Feb1.200702.25274@agate.berkeley.edu> Date: 1 Feb 90 20:07:02 GMT Sender: usenet@agate.berkeley.edu (USENET Administrator;;;;ZU44) Reply-To: spanki@color.ced.berkeley.edu (Frank Goodman) Organization: UC Berkeley Center of Environmental Design Research Lines: 23 I read the article about synchronous vs asynchronous, and I have a few question. I have a popup shell with a label as a child, and I want to use it for messages to the user. I pop it up in a callback, with a message like "Loading image, please be patient". However, since it is being poped up in a callback, and I then go off into a long process of loading an image, my label widget is never getting the text displayed. I believe, this is because the expose event is sitting in the Q while I load my image, and not getting processed while the popup is mapped. I call XFlush right after XtPopup, but that doesn't do it. How can I ge the text to display? I'm going to want to use this sort of message system throughout the program, I imagine, I will need to reset the string (via XtSetValues), as well as move the popup around. These messages are context specific, and therefore the moving, and labeling routines will be called from callback routines. How can I get my text to show? Thanks, Frank --------------------------------------------------------------------------- Frank Goodman arpa: spanki@CED.Berkeley.EDU University of California, Berkeley or: spanki%CED@jade.Berkeley.EDU College of Environmental Design uucp: ...hplabs!ucbvax!ced!spanki S.I.S Research Laboratory phone: Novelty item, not necessary ---------------------------------------------------------------------------