Hi Pierre,<br><br>1. I&#39;m starting to work on a Reactive/wxHaskell for use with Phooey, GuiTV, and Eros.&nbsp; I&#39;d love to see a gtk2hs adapter available, and I imagine it would be done similarly to wxHaskell&#39;s.<br><br>
2. The whole adapter interface is very recent and will likely evolve.&nbsp; I&#39;m a big fan of compositionality, so composing adapters interests me.<br><br>Regards, - Conal<br><br><div class="gmail_quote">On Mon, Nov 10, 2008 at 10:04 AM, pierre <span dir="ltr">&lt;<a href="mailto:k.pierre.k@gmail.com">k.pierre.k@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
I&#39;m trying to write simple GTK2hs adapter using new reactive library.<br>
<br>
However, I&#39;ve ran into some issues there:<br>
<br>
1. All of the adapters i&#39;ve seen come with static &quot;primitive signals&quot;,<br>
like FRP.Reactive.GLUT.Adapter.UI. But this doesn&#39;t seem to be<br>
applicable to UIs like &quot;UI loaded from glade file&quot; because it&#39;s<br>
impossible to create all signals in advance -- you should be able to<br>
create them with functions like:<br>
<br>
mkButton :: Glade -&gt; String -&gt; IO (Event ())<br>
<br>
but that doesn&#39;t seem to fit well into FRP.Reactive.LegacyAdapters interface.<br>
<br>
2. Is stacking of multiple adapters possible? In my view it&#39;s<br>
essential feature for many applications, GUI network clients, for example.<br>
<br>
Best wishes and thanks in advance,<br>
<font color="#888888">--<br>
pierre<br>
_______________________________________________<br>
Reactive mailing list<br>
<a href="mailto:Reactive@haskell.org">Reactive@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/reactive" target="_blank">http://www.haskell.org/mailman/listinfo/reactive</a><br>
</font></blockquote></div><br>