I found the reactive-banana-wx and wonder if there is also a similiar package for gtk as reactive banana should support gtk according to http://www.haskell.org/haskellwiki/Reactive-banana
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试):
问题:
回答1:
The reactive-banana
library can be used on top of any imperative event-based library via the AddHandler
type.
However, it is often convenient to write a little glue code that is specific to the library you want to build on. This is what reactive-banana-wx
does for the wx
library. I have trouble installing GTK on my Mac, that's why I haven't written a similar glue code package for the gtk
library. However, other people have used reactive-banana with gtk, for instance John Lato in his jaek
project.