This is probably more a WPF question rather than IronPython, but here goes...
I'm using WPF to do some drawing from IP and it only updates when the IP thread is idle (waiting for an input).  What I'd like to do is be able to set some interface elements (like a textblock) with text indicating the progress along a fairly involved activity. While I can set the text from within IP, it only shows the results when the entire activity is done, and the IP prompt is idle.
While I have had some limited success in spawning a second thread and processing activity there and calling back into the Application.Dispatcher to change the interface elements, this makes the programming model MUCH more complicated for the activities that I'm trying to get done. Is there a relatively simple solution? Perhaps an 'update' call that I can make this will make sure that the WPF interface is up-to-date? Or a different priority level on which to be calling the IP main thread?
Thanks!
--S
 
_______________________________________________
users mailing list
[email protected]
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com

Reply via email to