Is there a reactive-banana-gtk?

只愿长相守 提交于 2019-11-30 23:05:26

问题


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.



来源:https://stackoverflow.com/questions/17265910/is-there-a-reactive-banana-gtk

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!