Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 Gtk2Hs(EventM 模块)来处理 Haskell 中的 GTK 事件。是否可以手动(重新)触发事件?
在一个小部件上检测到事件后,我想在另一个小部件上重新触发此事件。
我正在使用 Gtk2Hs 版本 0.10.1 和 GHC 版本 6.10.4。
我认为您需要调用 glib/gasyncqueue 函数 g_async_queue_push,但这并未在 haskell 绑定中公开。