
7 Jan
2016
7 Jan
'16
4:27 p.m.
Hello all, how is it possible to process external events, for example a succeeded getLine or a takeMVar with its values in the wxHaskell framework? The reason is, that I want to connect a erlang node to wxHaskell. I have found the functions Graphics.UI.WX.Events.newEvent :: String -> (w -> IO a) -> (w -> a -> IO ()) -> Event w a "Create a new event from a get and set function." Beside from, that I don't know what the get and set function shall do, I don't know, how I can add the new event to the event-loop of wx, and when it "fires". Do you know any possibilities? Thank you in advance