[Haskell-cafe] Simple GUI Form

timothyhobbs at seznam.cz timothyhobbs at seznam.cz
Sat Dec 1 20:58:52 CET 2012


Also GTK, but I ran across this a little while ago http://hackage.haskell.
org/package/barrie not sure if it still builds as it's a bit old, but it 
looked interesting.


---------- Původní zpráva ----------
Od: Rune Harder Bak <rune at bak.dk>
Datum: 1. 12. 2012
Předmět: Re: Re: [Haskell-cafe] Simple GUI Form

"Sure, and thanks for sharing.
We need more declarative GUI building!

On Sat, Dec 1, 2012 at 9:00 AM, <timothyhobbs at seznam.cz> wrote:
> I created that for a specific application I was writing, where I was 
saving
> the data directly to disk. I modularized as an afterthought. But I don't
> see anything wrong with using types that have JS in their names. It is
> STILL a haskell data structure. Just one which can be converted to a
> relatively universally parse-able String easily when needed ;)
>
> It's fine if you don't use gtk. I just wanted to show off my code :)
>
> Timothy
>
>
> ---------- Původní zpráva ----------
> Od: Rune Harder Bak <rune at bak.dk>
> Datum: 30. 11. 2012
> Předmět: Re: [Haskell-cafe] Simple GUI Form
>
>
>> I know it's not wx, but if you were willing to use GTK, you could simply
>> install:
>>
>> http://hackage.haskell.org/package/gtk-jsinput
(http://hackage.haskell.org/package/gtk-jsinput)
>>
>> and generate the form automatically as described in:
>>
>>
>> https://github.com/timthelion/gtk-jsinput/blob/master/Graphics/UI/Gtk/
Custom/JSInput.hs
(https://github.com/timthelion/gtk-jsinput/blob/master/Graphics/UI/Gtk/Custom/JSInput.hs)
>
> Cool!
>
> Would rather see it generated from the haskell data structure than from
> json,
> but you could of cause generate json from the data type.
>
> My understand is that GTK applications don't look and feel native on
> windows/mac, that's why I went for wx,
> but I could easily be wrong."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20121201/20eee45f/attachment.htm>


More information about the Haskell-Cafe mailing list