On Fri, 31 Dec 2010 12:32:06 +0100, Chionidis Ioannis <[email protected]> wrote:

Hello everybody!

I am quite new to haskell programming. I am trying to make a gui for a drumming project made in euterpea and I want to do something like this :
 >  b <- button f [text := "Run!" , on command := (test mambo_orig)]
"test mambo_orig" is executed from ghci but I want It to be able to execute each time the user presses the button.

Hope I didn't mess it up in the explaination,
Giannis Chionidis


This should work as expected, but GHCi does not play nice with wxHaskell; the problem is being worked on. Try compiling your program.

Regards,
Henk-Jan van Tuyl


--
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
--

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to