From: <mac...@gm...> - 2012-09-25 23:16:30
|
Including wxhaskell-users. Anyone interested in async UI update functionality? Cheers, Maciek ---------- Forwarded message ---------- From: <mac...@gm...> Date: Fri, Aug 24, 2012 at 10:41 PM Subject: UI updates from non-UI threads: an addition to wx? To: wxhaskell-devel <wxh...@li...> Getting wxHaskell to handle UI updates from non-UI threads was a frustrating experience; it's embarassing how long it took me to realise that the solution presented in this StackOverflow answer: http://stackoverflow.com/a/3182588/424978 is probably the only viable one. I've packaged it into a tiny module that provides Gtk2hs-style `postGUIAsync` function: https://github.com/mmakowski/habaz/blob/master/src/Graphics/UI/WX/Async.hs. Is there any interest in incorporating this into wxHaskell proper? It might save other users some head scratching. Regards, Maciek |