Progress update

20 December 2007 | Modified: 20 December 2007

This week I slightly reworked the event system. Specifically I added a method where no event can block execution no matter how long it takes to resume. For example a click handler that "accidentally" sleeps forever. The cost is a little bit of extra memory for every frozen event but I think it is worth it.

Something that I wanted in the framework was asynchronous events. In Java Swing and .Net you have normal event handlers that block and async / InvokeLater handlers that don't. The problem is that it is too much work and unelegant to, for instance, update a progress bar when running a long running operation. In uxpython you can just update the value attribute of the progress bar with no extra work. Pure "get out of your way" -ness.

I am planning a showcase application along the likes of the Healthcare demo for WPF. To showcase how good application in uxPython can look and perform. Currently leaning in the direction of a Customer application, but if anyone has a better suggestion please let me know :-)