有反应香蕉 - gtk吗? [英] Is there a reactive-banana-gtk?

查看:84
本文介绍了有反应香蕉 - gtk吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

根据 http://www.haskell.org/haskellwiki/Reactive-banana

解决方案 <$ c通过 AddHandler 类型,$ c> reactive-banana 库可以用于任何基于事件的命令式库。



但是,编写特定于要构建的库的小胶水代码通常很方便。这就是 reactive-banana-wx wx 库所做的事情。我在我的Mac上安装GTK时遇到问题,这就是为什么我没有为 gtk 库编写类似的胶水代码包。然而,其他人在gtk中使用了响应式香蕉,例如John Lato在他的 jaek 项目


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

解决方案

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.

这篇关于有反应香蕉 - gtk吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆