Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!elroy.jpl.nasa.gov!sdd.hp.com!think.com!snorkelwacker.mit.edu!shelby!agate!bandit!brp From: brp@bandit.berkeley.edu (Bruce Raoul Parnas) Newsgroups: comp.windows.x Subject: running other processes with windows Message-ID: <1991Feb6.223302.25752@agate.berkeley.edu> Date: 6 Feb 91 22:33:02 GMT References: <1991Feb6.193011.13870@intelhf.hf.intel.com> Sender: usenet@agate.berkeley.edu (USENET Administrator) Organization: /etc/organization Lines: 17 thanx for all the response on getting status messages to users with widgets. in doing this, it occurred to me that i have a deeper question: i have a large computational routine and would like a widget to display status from this. how can i continue to update this window without being in a XtAppMainLoop, XtMainLoop or something similar? The documentation for XtWorkProc seems to indicate that it is for "small" jobs that happen in between requests. I would like to have my procedure be the main job, and be able to output status in a widget. i now send output via printf to the window from which i invoked the routine, and would simply like to redirect this output to a widget that i open, without seriously affecting my ability to perform the main computation. sounds like i want a lot, doesn't it? has anyone done this sort of thing? thanx, bruce (brp@bandit.berkeley.edu)